Why public static void main(String args[ ]) in Java? full Explanation | Learn Coding

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • #MainMethodInJava
    #LearnCoding
    #JavaMainMethod
    #Javamainmethodexplaination
    #ask4help
    #publicstaticvoidmain
    #KnowAboutJavaMainMethod
    #whyismainmethodstaticinjava
    #JavaProgramming
    #LearnJavaByLearnCoding

ความคิดเห็น • 176

  • @satyasangoju4142
    @satyasangoju4142 2 ปีที่แล้ว +69

    I bought several courses and I searched for 100s of videos, ur the best...you can explain this in different languages, and can help many more people. Thank you so much Sir.

    • @status9956
      @status9956 ปีที่แล้ว

      Me 2

    • @possiblesupport1029
      @possiblesupport1029 4 หลายเดือนก่อน

      I still didn't understand because he is teaching for already know c c++ it's not for beginners those who directly learning java

    • @ck-hq5iq
      @ck-hq5iq 3 หลายเดือนก่อน

      ​@@possiblesupport1029 bro i know but you can't jump into java without having knowledge about oops concept so it my advice to go for oops concept i.e c++ then come to java

  • @Codeboy543
    @Codeboy543 10 หลายเดือนก่อน +5

    Best Java course on TH-cam 🇮🇳🇮🇳

  • @priyankalamkhade8595
    @priyankalamkhade8595 2 ปีที่แล้ว +13

    I watch many videos for java learning but you are one of the best sir...you teach very simple language... understand easily...thank you so much

  • @kshitizpathak-zb3di
    @kshitizpathak-zb3di ปีที่แล้ว +22

    public class First {
    public static void main(String[] args) {
    System.out.println("hello world");



    }
    }
    In the starting of Java program, JVM calls the main() method
    Public: so that it is accessible outside of the class
    static: so that jvm can access the main method without creating object of main class
    void: no value will be get return from the main method
    String args[] : It is array of Strings, main method passes this arguments so that we can send any information
    public nhi rahega to compiler bolega main method not found
    static nhi rahega to bolega ki main method ko static banao
    static members class ke name se call ho jaate hai

    • @shubh570
      @shubh570 ปีที่แล้ว +1

      Bruhh i didnt understood the return value means like is it same as printing the value?

    • @kshitizpathak-zb3di
      @kshitizpathak-zb3di ปีที่แล้ว

      @@shubh570 In java a called method return a value to caller method. study method topic for more understanding.

    • @malatibibhar8167
      @malatibibhar8167 2 หลายเดือนก่อน

  • @abhishekjoshi6221
    @abhishekjoshi6221 ปีที่แล้ว +10

    This channel is very underrated
    he explains everything perfectly

  • @showkathali3428
    @showkathali3428 3 ปีที่แล้ว +33

    Nice practicle explanation bruh

  • @shiva_2277
    @shiva_2277 ปีที่แล้ว +1

    the way you explain every little thing so deeply is awesome

  • @ItIsMeJiyaGurnani
    @ItIsMeJiyaGurnani 11 หลายเดือนก่อน +1

    School mein koi aise sikhaata, toh ab takk developer bann jaata

  • @Crocodilekumar
    @Crocodilekumar ปีที่แล้ว +1

    Best Teacher
    Why i was loosing interest in coding by watching so-called youtubers videos .

  • @2minute_coding
    @2minute_coding 29 วันที่ผ่านมา

    your teaching method is very good ,sir I want teacher like you.Thank you so much sir

  • @arpancs
    @arpancs 2 ปีที่แล้ว +7

    Woww such a great and easy explanation it helps me to understand and clear the concepts thankyou so much for making programming language tutorials🙏

  • @MR_PARVEEN_SINGH
    @MR_PARVEEN_SINGH 3 ปีที่แล้ว +8

    Please Keep include all java Videos in one video and upload this.

  • @sunilsuni7008
    @sunilsuni7008 3 ปีที่แล้ว +5

    though I go through many vidios in u tube i find this more helpful🤞🤞🤞
    Keep going dude

  • @sscode3809
    @sscode3809 ปีที่แล้ว +1

    Sir you are only teacher with me 🙏🙏👍

  • @milanpatel0404
    @milanpatel0404 3 ปีที่แล้ว +3

    Position de du one
    Ise kar du run..😁😁
    Nice explanation sir

  • @shivanisoni4641
    @shivanisoni4641 2 ปีที่แล้ว +1

    Amazing videos sir you explain Soo well I m not a computer student but after studying from you my all concepts are cleared😊Thank you sir

  • @SaumyaSharma007
    @SaumyaSharma007 ปีที่แล้ว +1

    sir mind blow kar dia...
    thanks a lot.

  • @arindampuzari393
    @arindampuzari393 3 ปีที่แล้ว +1

    kya barhia explanation kya hai ...maza aa gya ..keep it up bro..

  • @RajendraSinghArora
    @RajendraSinghArora 2 ปีที่แล้ว +1

    Thanku sir... Apka tarika bahut achha h.. pdane ka⏰😃😃

  • @muhammadmurtaza9247
    @muhammadmurtaza9247 4 วันที่ผ่านมา

    love your channel men and the way of you are teaching

  • @HumairaAkram-wh4yp
    @HumairaAkram-wh4yp 23 วันที่ผ่านมา

    Thank you so much sir
    Stay bless forever

  • @gk_mobi7889
    @gk_mobi7889 2 ปีที่แล้ว +2

    Just simple explanation.... tq for dis

  • @abhi_updates
    @abhi_updates 3 ปีที่แล้ว +4

    Really good one coz sab demonstration kr rhe ho app!
    Tysm for quality content

  • @umangshukla-nd6ij
    @umangshukla-nd6ij ปีที่แล้ว

    Best yt channel to learn coding

  • @varshilpatel8268
    @varshilpatel8268 ปีที่แล้ว +1

    Static and non-static doubt solved sir 👍👍 Thanks.

  • @mdirfankhan1254
    @mdirfankhan1254 2 ปีที่แล้ว +5

    Excellent sir🙏🙏🙏

  • @Calssic_densetsu0000
    @Calssic_densetsu0000 4 หลายเดือนก่อน

    Sir you saved me from failing
    I was searching for better lecture from 3 months

  • @syedfaisalnaseem1312
    @syedfaisalnaseem1312 3 ปีที่แล้ว +2

    Very good explanation

  • @TechnicalDKC
    @TechnicalDKC 3 ปีที่แล้ว +1

    वीडियो पसंद तो क्या, बहुत ज्यादा पसंद आया है भाई।
    Thank You

    • @LearnCodingOfficial
      @LearnCodingOfficial  3 ปีที่แล้ว +1

      Thanks a lot 🙏 🙏🙏🙏
      Please Share 4Help Others

  • @ManojSingh-wu3dh
    @ManojSingh-wu3dh 3 ปีที่แล้ว +10

    Keep it bro 💯

  • @officialmunda0012
    @officialmunda0012 3 ปีที่แล้ว +1

    Position karu one phir se karu run😆😆
    Nice explanation 👍

  • @utkarshjais2073
    @utkarshjais2073 3 ปีที่แล้ว +7

    Sir please send next video it is very helpful for us 🙂🙏

    • @LearnCodingOfficial
      @LearnCodingOfficial  3 ปีที่แล้ว +1

      I request to you please Share this knowledge with friends 🙏🙏🙏🙏
      And don't worry i complete all java.

  • @Masterxxxxxxxxxxxxx
    @Masterxxxxxxxxxxxxx ปีที่แล้ว +1

    Thank you, sir.

  • @saddamsidddique9105
    @saddamsidddique9105 ปีที่แล้ว

    Simple and easy explaination for this topic in youtube

  • @sowmyam7454
    @sowmyam7454 3 ปีที่แล้ว +2

    Good explanation sir

  • @pranitakamble8187
    @pranitakamble8187 ปีที่แล้ว

    You are the best teacher

  • @apnacodingofficial1
    @apnacodingofficial1 3 ปีที่แล้ว +1

    Superb explain brother 👍👍👍👍👍👌👌👌👌

  • @ritikajangid2578
    @ritikajangid2578 2 ปีที่แล้ว +1

    Thankyou so much sir.....
    I really appreciate your Chanel...🙌

  • @chinmaykar06
    @chinmaykar06 ปีที่แล้ว

    One of the best explanation

  • @paschhimkhanna9749
    @paschhimkhanna9749 3 ปีที่แล้ว +5

    Marvelous

  • @ushamahesh3485
    @ushamahesh3485 ปีที่แล้ว

    So we'll explained... Cleared all my doubts

  • @mayursharma5075
    @mayursharma5075 2 ปีที่แล้ว +2

    Sir Agr MAIN METHOD STATEMENT KE BAAD
    VOID SHOW()
    KR RHE HAI USME KYA HOGA STATIC SBME LIKHNA ZAROORI HAI

  • @Rajveer__singhhhh
    @Rajveer__singhhhh ปีที่แล้ว

    Your channel is gift of god for me 🙏

  • @sallotgamingyt3202
    @sallotgamingyt3202 3 หลายเดือนก่อน

    Sir what you said is completely correct but when i use blue j
    For the program i can write
    class display
    {
    public static void main ()
    {
    System.out.println("hello sir");
    }
    }
    If i do not use string args [] in blue j the compiler will not show the error
    So my question is (Is there any problem if I do not use String args [ ]

  • @mashiramashi6307
    @mashiramashi6307 6 หลายเดือนก่อน

    Too good 👍👍

  • @pranshugupta227
    @pranshugupta227 ปีที่แล้ว

    sir yu are the best tutor

  • @SaurabhKumar-uv6fd
    @SaurabhKumar-uv6fd 3 ปีที่แล้ว +1

    Good explanation of concepts.

  • @user-ub3sd5mv7y
    @user-ub3sd5mv7y 2 หลายเดือนก่อน

    Sir apke pen bahut acha hote hai

  • @91xmn
    @91xmn 3 ปีที่แล้ว +2

    I need video of Java coding (only programming) from starting class 9 with vdc and output

  • @dozoctozor8124
    @dozoctozor8124 3 ปีที่แล้ว +4

    Could you please add subtitle to your videos?

  • @jaishreeram-zo5qr
    @jaishreeram-zo5qr 2 ปีที่แล้ว

    Good method for details explanation

  • @irfanbasar6950
    @irfanbasar6950 ปีที่แล้ว

    Please make video on static method and static variable

  • @drfclub
    @drfclub ปีที่แล้ว

    Sir Java top 100 interview questions answers series bana dijiye pls bahot help ho jayege

  • @ittutorials51
    @ittutorials51 3 ปีที่แล้ว +1

    Awesome Sir...

  • @vaibhavpandey8239
    @vaibhavpandey8239 ปีที่แล้ว +1

    2:45 helicopter noise

  • @Lets_Travel712
    @Lets_Travel712 ปีที่แล้ว

    Very nicely explained everything 👍😊

  • @abhishekus9738
    @abhishekus9738 ปีที่แล้ว

    Nice explanation sir.

  • @learncomputerlanguage1726
    @learncomputerlanguage1726 2 ปีที่แล้ว

    Excellent explained my sir

  • @prosenjitsingha7901
    @prosenjitsingha7901 2 ปีที่แล้ว

    Really awesome 👍👍👍

  • @pankajyadavyadav9146
    @pankajyadavyadav9146 ปีที่แล้ว

    Excelent explantion🙏🙏🙏

  • @owayg
    @owayg 10 หลายเดือนก่อน

    awesome

  • @ankushdangi3154
    @ankushdangi3154 2 ปีที่แล้ว

    Ese hi video bnate rho

  • @jojven7514
    @jojven7514 2 ปีที่แล้ว

    awesome explanation

  • @changenew
    @changenew ปีที่แล้ว

    Thank you very much sir 😃😀💙💖💓

  • @pawandholwade440
    @pawandholwade440 2 ปีที่แล้ว

    Keep it up, nice explained

  • @Shinchan-wy4iu
    @Shinchan-wy4iu ปีที่แล้ว

    Great 🎉

  • @shivinthakur4550
    @shivinthakur4550 2 ปีที่แล้ว

    Thanku very easy explain

  • @utkarshapagar9571
    @utkarshapagar9571 2 ปีที่แล้ว

    It helps me a lot ..thanks 😊

  • @suwarnagaikwad772
    @suwarnagaikwad772 2 ปีที่แล้ว

    Hello sir plz upload the video about manual testing and How Run manual testing ...plz sir

  • @suman-wi7tf
    @suman-wi7tf 2 ปีที่แล้ว

    Sir in main method we r declaring static then why we can create an object without object creation it can be perform?

  • @laymanstechworld3224
    @laymanstechworld3224 ปีที่แล้ว

    simple and good

  • @roshaniagrahari2142
    @roshaniagrahari2142 3 ปีที่แล้ว +1

    Nice explanation

  • @ExploreWithShubh
    @ExploreWithShubh 2 ปีที่แล้ว

    Nice explaination

  • @shaharbanomanihar
    @shaharbanomanihar ปีที่แล้ว

    Great sir

  • @Faizan_Iqbal07
    @Faizan_Iqbal07 2 ปีที่แล้ว

    Tnx for this course 😀

  • @raghavraina9016
    @raghavraina9016 ปีที่แล้ว

    very nice video

  • @atharvakori3425
    @atharvakori3425 ปีที่แล้ว

    Great sir...

  • @SICARIOYASH
    @SICARIOYASH 3 ปีที่แล้ว +1

    Op sirr 🔥🔥

  • @RahulSoni-br1qd
    @RahulSoni-br1qd ปีที่แล้ว

    well explained!

  • @vishalpawar-dm6fv
    @vishalpawar-dm6fv ปีที่แล้ว

    thank you sir

  • @ankushdangi3154
    @ankushdangi3154 2 ปีที่แล้ว

    Bhut badiya

  • @siddharthtiwari4546
    @siddharthtiwari4546 ปีที่แล้ว

    Sir explain all Java programs for 3rd sem

  • @cryptohodler8193
    @cryptohodler8193 ปีที่แล้ว

    Thank you so much sir ☺️❤️

  • @shouryaprajapati5767
    @shouryaprajapati5767 ปีที่แล้ว

    C ka full course bhi le kar aaiye bilkul Java ki tarah please sir😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢

    • @LearnCodingOfficial
      @LearnCodingOfficial  ปีที่แล้ว

      C full course 👇
      th-cam.com/video/VSEnzzjAm0c/w-d-xo.html

  • @rakeshkumar3003
    @rakeshkumar3003 3 ปีที่แล้ว +1

    Notes mil sakta h thora jaldi pad sakte h

  • @ShivamGupta-by7vg
    @ShivamGupta-by7vg 3 ปีที่แล้ว +1

    Sir ye jo aap notes likhvaate ho iski pdf mil sakti ha kya

  • @sharathsimharaj3117
    @sharathsimharaj3117 2 ปีที่แล้ว

    Nice 💯🔥🔥

  • @gjagadeeshwar6518
    @gjagadeeshwar6518 ปีที่แล้ว

    Sir if we need ankith ankush two names means how we have to give arguments 0,1 r 0 1

  • @v-nom3675
    @v-nom3675 2 ปีที่แล้ว

    Excellent

  • @tricker3m520
    @tricker3m520 2 ปีที่แล้ว

    My teacher

  • @sarikavidhate2985
    @sarikavidhate2985 3 ปีที่แล้ว +1

    🤗👌

  • @swagatpatel7280
    @swagatpatel7280 3 ปีที่แล้ว

    Fantastic

  • @Bhushanjivanval
    @Bhushanjivanval 2 ปีที่แล้ว

    I requested to you publish the iterator topic concept humble request to you please

  • @shrinivasbutla5093
    @shrinivasbutla5093 ปีที่แล้ว

    System.out.println(args[0,1]);
    Sir Its giving error...
    How to print two string at a time with uses above syntax

  • @latestnews7112
    @latestnews7112 3 ปีที่แล้ว

    Gazab bro

  • @ludermani5633
    @ludermani5633 2 ปีที่แล้ว

    Thanku sir 😊

  • @sketchlover9570
    @sketchlover9570 ปีที่แล้ว

    Sir public agar public ki jagah private hota to ?

  • @rishichoudhry2512
    @rishichoudhry2512 ปีที่แล้ว

    Sir error arahi hai index args[3] dalne mein error= index out of bounds

  • @suhailquyoom
    @suhailquyoom 3 ปีที่แล้ว +1

    Please give me java notes bro

  • @ImranHossain-ik1mv
    @ImranHossain-ik1mv 6 หลายเดือนก่อน

    i am learning hindi to learn this. i am from bangladesh