Lecture 9 Command Line Arguments in Java Hindi

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

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

  • @DeepakVerma-dt5if
    @DeepakVerma-dt5if 4 ปีที่แล้ว +6

    best command tutrial and from now i begin to follow you sir 🙏🙏

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

    sir I m a big fan of your.you doing a very well done.i learnt a lot from your videos that I was not learnt in my college.thank sir.

  • @SmartProgramming
    @SmartProgramming 6 ปีที่แล้ว +5

    very easily explained, thanks for this sir

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

    Thanks sir ur all videos is very excellent bcoz u explained from small concept to large concept in easily way.So ur lecture is easily understandable

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

    Aaj maine aapka java ka video dekha bahut achchha laga.Baithe baiithe apne address bar me my sir.com dikh gya. phir maine aapka java tutorials dekhna suru kar diya. ye students ke liye bahut hi badhiya hai & easy to understating v hai.lacture 4 se lekar lecture 9 tak dekha.

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

      +krishna pandit Hi dear!! How r u? Nice to see u here. Yes I have started this recently and taking it seriously.
      I am glad u like the videos and site www.mysirg.com
      Share it.

    • @krishnapandit1498
      @krishnapandit1498 8 ปีที่แล้ว

      +Java by Saurabh Shukla Sir mai badhiya hun sir, aapka java ka video mujhe bahut hi badhiya lag raha hai or mai lacture 23 tak dekh dala hun ... or mai pura dekh dalunga.office se kam over karne ke bad khana kha ke aapka video dekhne lagta hun. lagta hai ki jyada se jyda 1 din me dekh dalu. maine 4 din me 23 video dekh dala hai. bahut sikhne ko molta hai sath sath C++ v recall ho jata hai. mai abvhi php pe web devlopment ka kam kar raha hun or mujhe java v bahut pasand hai. ab lagta hai ki java ka video dekhne ke bad sayad mai android mob app devlop ke taraph ja sakta hun. or ye video mujhe bahut hi help karne wala hai. isliye mai ise dhyan se dekhta hun.

    • @krishnapandit1498
      @krishnapandit1498 8 ปีที่แล้ว

      +Java by Saurabh Shukla Sir Mujhe 1 bat achchhi lagi ki aap sabke comment ka peoper reply dete hai . Thank u fir this very good activity sir. It is very appreciable.

  • @Yash-fl3qp
    @Yash-fl3qp 4 ปีที่แล้ว

    by far the best cs teacher on youtube

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

    Hello Saurabh Sir! Just make a video on School management program using interface and abstract class, method. So we can understand properly and it also clear the doubts

  • @asharma4353
    @asharma4353 7 ปีที่แล้ว

    sir i am from kashmir sir aal you videos are very nice sir aapke vajah se sir hm sare students study kar rhe hain JAI HIND

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

    Hello, sir aap java main logic k programs videos banaye ap ka explination bahoti achha hai jo app explain kartein hai wo sab yaad reh jata hai or samj main bhi aa jate hai, job liye interview main mostly puchhe jane wala programs videos laye sir and thanks for teaching us. 😊

  • @soumikbanerjee363
    @soumikbanerjee363 8 ปีที่แล้ว +5

    First of all a heartiest thanks to you sir. Hardly anybody can explain any topic in a more simpler way than you.
    One question sir when I used IDE(Netbeans) to run the code shown in this video it is not working, I'll be thankful to you kindly clarify.

    • @javabysaurabhshuklasir3459
      @javabysaurabhshuklasir3459  8 ปีที่แล้ว

      +SOUMIK BANERJEE Well I have checked all my programs on netbeans too. Please specify error msg

    • @soumikbanerjee363
      @soumikbanerjee363 8 ปีที่แล้ว

      +Java by Saurabh Shukla Sir when I run this:-
      package echo;
      public class Echo
      {
      public static void main(String[] args)
      {
      System.out.println(args[0]);
      }
      }
      the error msg is as follows:-
      Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
      at echo.Echo.main(Echo.java:6)
      C:\Users\Soumik\AppData\Local\NetBeans\Cache\8.1\executor-snippets
      un.xml:53: Java returned: 1
      BUILD FAILED (total time: 1 second)
      But when I run the following program although it is running successfully, it is not providing the scope to provide the arguments for main()
      package echo;
      public class Echo
      {
      public static void main(String[] args)
      {
      for(int i=0;i

    • @jaiminpatel2024
      @jaiminpatel2024 7 ปีที่แล้ว +6

      1st program: in netbeans we can not give the arguments...it's only for cmd....so, whenever you type System.out.println(args[0]); it's find the value of args[0] but there is no value provide. so,it's showing error..
      2nd program: you are not provide any arguments in netbeans. so,length of args is 0...so,when for loop start i initialize to 0 and then check condition but i

    • @bhalachandrapatil
      @bhalachandrapatil 7 ปีที่แล้ว

      for IDE's any method to pass arguments

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

      Steps to add arguments in Netbeans Program -:
      1.) Right-Click the Name of Project and Click on Set Configuration and then Customise
      2.) You will see a Field of Arguments by choosing the Main Class First
      3.) Type the Arguments by Giving Space to each Argument

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

    Woh sir you are my best teacher ❣️🙏💯

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

    thanks very much, Saurabh sir I am very happy with your lectures thanks again
    🥰

  • @divymajithiya6804
    @divymajithiya6804 6 ปีที่แล้ว

    Nice video sir . Bahot kuch sikhne ko mila aapse

  • @sabedildar7634
    @sabedildar7634 7 ปีที่แล้ว

    hy sir kindly har video k sath us topics say related programs b day dia karain apki videos bht helpfull hai

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

    sir we love and respect you

  • @sabedildar7634
    @sabedildar7634 7 ปีที่แล้ว

    easy for practice i ll share this videos to my all friends

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

    thank u so much sir that u made such great and helpful videos

  • @sankalpsachan9199
    @sankalpsachan9199 4 ปีที่แล้ว

    In starting "hello.friends" feels like by best friends is going to teach me🖤🔥

  • @11121973pintu
    @11121973pintu ปีที่แล้ว

    which IDE is best .....any specific reason why you use notepad I lectures

  • @jatinderkaur3359
    @jatinderkaur3359 7 ปีที่แล้ว

    sir jaise aapne kahaa k jo hum main function mein arguments receive krne k liye string[]args likhte hai.. to why it is necessary to write even if we r not passing any argument in the program..

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

    Sir, Is command line arguments practically used somewhere? If yes, please give some example.

  • @mithunkumars6097
    @mithunkumars6097 4 ปีที่แล้ว

    Your are very good teacher sir

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

    sir ur videos are really very helpful ..please do upload videos on applets ......in java ...buttons ,labels and imp stuff useful in making projects

  • @chanchal2112
    @chanchal2112 9 ปีที่แล้ว

    thnku lot...have cleard my some concepts.. plz update vdeos on applets n graphics in java quick..

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

    V.gud and very useful

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

    best video dada

  • @rohandubey1722
    @rohandubey1722 4 ปีที่แล้ว

    Sir very very nice explanation ☺️☺️😊😊😊🤗

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

    very old video. explanation awesome

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

    Sir java ka complete syllabus upload kariye na sir i m huge fan of u sir

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

    Absolutely Brilliant sir

  • @induchouhan7498
    @induchouhan7498 7 ปีที่แล้ว

    thanku so much your videos are helping me a lot .

  • @anmolsharma3428
    @anmolsharma3428 4 ปีที่แล้ว

    very descriptive ! hats off sir.

  • @sakk4523
    @sakk4523 4 ปีที่แล้ว

    Can we not take arguments in int type already rather than converting it later into int

  • @nimeshsati7013
    @nimeshsati7013 6 ปีที่แล้ว

    very good job sir
    please provide the program of converting integer into binary code by command line argument

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

    Is the syntax of the main class line correct

  • @ShivamSharma-bz4js
    @ShivamSharma-bz4js 6 ปีที่แล้ว

    sir , aapne add ka program bnaya , command prompt pe value pass krke , or agar mujhe subtract ka program bnana h jese ki, phli value agar me badi likhu or baaki sab choti , to vo subtract ka program bnane ke liye kya krna hoga, help pls

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

    Sir i am very big fan of your all lectures ... specially of "Data structure "
    sir i am getting some problem when is use any "wrapper class " it gives me an error : Cannot find symbol
    how can i resolve it

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

      it occurs if u do case sensetive mistakes in ur program

  • @rajasaha1997
    @rajasaha1997 6 ปีที่แล้ว

    The use of wrapper class is great.Thanks

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

      Sorry to be so off topic but does someone know a way to get back into an Instagram account?
      I was dumb forgot my account password. I appreciate any help you can offer me!

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

      @Xavier Amari instablaster =)

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

      @Chris Stanley I really appreciate your reply. I got to the site through google and Im waiting for the hacking stuff atm.
      I see it takes quite some time so I will get back to you later when my account password hopefully is recovered.

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

      @Chris Stanley it worked and I actually got access to my account again. Im so happy:D
      Thank you so much you saved my ass !

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

      @Xavier Amari Happy to help =)

  • @yashkhokhaneshiya8516
    @yashkhokhaneshiya8516 7 ปีที่แล้ว

    Sir, you should make one another video series for android developing ....

  • @yogeshparthe3908
    @yogeshparthe3908 4 ปีที่แล้ว

    Sir, how to we set limit for a char variable for eg in cpp we used to set limit for char variable i.e char a[10].........and then we were allowed to use 10 charcters whithin that varibale so how do we do this in java.

  • @someshgangwar4013
    @someshgangwar4013 6 ปีที่แล้ว

    can we call constructor by command line arguments .means a constructor call by on black screen

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

    can we type cast instead of using wrapper class??

  • @payalsingh1963
    @payalsingh1963 4 ปีที่แล้ว

    Sir uplod the video for InputStreamReader and BufferReader using class and object

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

    thnku..plz update vdeos on applets,graphics and event handling in java.. :)

  • @aruntripathi4537
    @aruntripathi4537 7 ปีที่แล้ว

    very good explanation sir 😊😊😊

  • @vishakhachoudhary2425
    @vishakhachoudhary2425 7 ปีที่แล้ว

    Sir output was not correct. I was input three No. for addition, output comes 1st No. than sum of 1st two No.s and than sum of 3 No.s

  • @PreetiSharma-sd9ip
    @PreetiSharma-sd9ip 2 ปีที่แล้ว

    sir i got an error of thread :
    Exception in Thread "main" java.lang.ArrayIndexOutofBoundsException

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

    Sir ye program android me run kar rahe h to compile aur run ho hi nahi raha means kuchh output nhi de raha run karne par . jabki variable bhi lekar check kiya fir bhi nhi aaya

  • @krishnachandrapatel7046
    @krishnachandrapatel7046 5 ปีที่แล้ว

    Sir please make video on variable arguments (... )

  • @thedewprogrammerusmani8872
    @thedewprogrammerusmani8872 5 ปีที่แล้ว

    Sir array ka name args hi rkhna zaruri h kya????? Plz Answr me

  • @PraveenKumar-mv9hq
    @PraveenKumar-mv9hq 5 ปีที่แล้ว

    Sir main function ke. Alava or koi use h iska. Pls Rply

  • @anubhavtrivedi1283
    @anubhavtrivedi1283 4 ปีที่แล้ว

    Sir i want more videos on java important programs

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

    hello sir,
    actually i am using eclipse for all programs in java.
    So, can you please tell me how to compile and run in eclipse using command line arguments.

    • @shivamvishwakarma294
      @shivamvishwakarma294 5 ปีที่แล้ว

      it is better to use JDK if u want to become a good and professional coder

  • @ravinayadav344
    @ravinayadav344 5 ปีที่แล้ว

    So nyc video ..Sir. .

  • @vineetgupta5641
    @vineetgupta5641 7 ปีที่แล้ว

    Sir,
    Can you plz more elaborate on args.length

  • @yogeshnain6391
    @yogeshnain6391 6 ปีที่แล้ว

    Great explanation sir

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

    sir please teach me to solve the snippets in java programming through ur vedios

  • @Ankitsingh-s9r7f
    @Ankitsingh-s9r7f หลายเดือนก่อน

    public class Echo{
    public static void main(String args[]){
    for(int i=0; i

  • @shubhiagarwal4060
    @shubhiagarwal4060 6 ปีที่แล้ว

    Sir please tell us about chat application in java

  • @ayushsrivastava830
    @ayushsrivastava830 7 ปีที่แล้ว

    sir please tell the logic of converting decimal to a hexadecimal number

  • @AbrarAhmad-mz8vl
    @AbrarAhmad-mz8vl 8 ปีที่แล้ว

    Sir i m using netbeans. And the same program Run successfully On netbeans But Not proper Result. Just Show Run successfully and then do nothing. please help >????
    and is there any plat form there i put a secreeen shoot???

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

    Awesome👌👌👌

  • @krunalkp1032
    @krunalkp1032 7 ปีที่แล้ว

    Great tutorial

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

    Thankyou so much sir🤗

  • @sankalpsachan9199
    @sankalpsachan9199 4 ปีที่แล้ว

    Great

  • @shaktiprasadpattanayak5531
    @shaktiprasadpattanayak5531 4 ปีที่แล้ว

    Great sir

  • @cinemanight552
    @cinemanight552 7 ปีที่แล้ว

    sir, here what is the use of length and innititaly what is the number of lentth its 0 or any number ..

    • @nanuaggarwal3840
      @nanuaggarwal3840 7 ปีที่แล้ว

      length stores that how many no. you enters into an array, bydefault value of length variable is 0

  • @Scalpingwithvishal
    @Scalpingwithvishal 7 ปีที่แล้ว

    sir jb m isse eclipse p run krwata hu too ye run nhi hota aur txt file ko java file me convert krta hu too v nhi hota soo plz help me i m new in java...

  • @rishikesh4509
    @rishikesh4509 4 ปีที่แล้ว

    Sir
    System.out.println ("sum is" +s);
    Sir isme +s last me kyu likhe h...
    Sirph s likhane nhi sakte h kya...????

    • @PranjalPatelBIT
      @PranjalPatelBIT 4 ปีที่แล้ว

      bhai ek string hai aur dusta integer hai ...and moreover it shows concatenation

  • @raghavaggarwal8644
    @raghavaggarwal8644 5 ปีที่แล้ว

    Sir i m typing the same code but its showing 3 errors with msg "non static variable s cannot be referenced from a static context." Kindly reply

  • @anjanisingh2195
    @anjanisingh2195 4 ปีที่แล้ว

    Sir...for loop Jo lga rhe he....o smjh me nhi AA rha he

  • @amitchandel6679
    @amitchandel6679 8 ปีที่แล้ว

    SIR PLZ SQL TOPIC KA B VIDEO UPLOAD KIJIEE

  • @MrAkshaywaghmare
    @MrAkshaywaghmare 8 ปีที่แล้ว

    Sir, while running the program , I am getting this error
    error occurred during initialization of vm..
    i am using java x86 version and windows x86 ... and no VM is installed

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

    I'm watching 8-jun-2022 it's same now or not anyone tell me

  • @muhammadamiraltaf7010
    @muhammadamiraltaf7010 6 ปีที่แล้ว

    Sir, can we use Interger.valueof() instead of Interger.parseInt() ? I used it but I have an error, Please guide me ...

    • @ashishchowdhury360
      @ashishchowdhury360 4 ปีที่แล้ว

      bro we cant use bcoz valueof() returns address

    • @hindimotivation4308
      @hindimotivation4308 4 ปีที่แล้ว

      G morning sir
      "i++ " means iska matlab hai sir plz

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

    Super

  • @akshatnigam8534
    @akshatnigam8534 4 ปีที่แล้ว

    sir this code isnt working in blue j ???

  • @sachingaikwad9288
    @sachingaikwad9288 6 ปีที่แล้ว

    Please start videos on VB.net

  • @one_minute_iitian_ai
    @one_minute_iitian_ai 7 ปีที่แล้ว

    If String s="Saurabh";
    then s is an Object or just an instance variable.
    If you say Object then why ??...
    I didn't get proper explanation from internet.

    • @jaiminpatel2024
      @jaiminpatel2024 7 ปีที่แล้ว

      it's object because String is class . it's start from capital letter .

    • @VasuGarg
      @VasuGarg 6 ปีที่แล้ว

      Its a reference variable

  • @taranjeetsingh3629
    @taranjeetsingh3629 4 ปีที่แล้ว

    Sir why it is +s not only s?

  • @shubham6867
    @shubham6867 4 ปีที่แล้ว

    amazing

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

    Thankyou sir🙏🙏

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

    Sir, file ka naam jaroori nahi ki class ka naam ho, hmm naam change bhi kr sakte hai!!

  • @saurabhshinde9769
    @saurabhshinde9769 6 ปีที่แล้ว

    public class Wrap
    {
    public static void main(String [] args)
    {
    System.out.println(args[0]);
    System.out.println(args[1]);
    }
    }
    SIR,when i try to complie this program it gives error.
    can you please explain me what is the error in the code?

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

    👌

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

    Thanku Sir for the lectures... please upload next lectures... please

  • @ritwikranjansinha2470
    @ritwikranjansinha2470 4 ปีที่แล้ว

    Sir how to run this program on NetBeans

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

    🔥🔥🔥

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

    any one watching this masterpiece series in 2023 then let me know only to revise java programming

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

    thanks sir.

  • @syedsajid4474
    @syedsajid4474 5 ปีที่แล้ว

    Sir when v add string to integer i m getting bug .

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

    sir when you will upload next video .................

  • @reshma78654
    @reshma78654 4 ปีที่แล้ว

    usefull

  • @shahbazalam8757
    @shahbazalam8757 6 ปีที่แล้ว

    sir, neatbeans mei aisa karney se eror show ker raha hai

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

    program practice kaha se kare ??

    • @matter2684
      @matter2684 6 ปีที่แล้ว

      sheetal !
      how much have u progressed in java since then?
      i have just started it.

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

  • @ranahaider2260
    @ranahaider2260 6 ปีที่แล้ว

    👌👌👌

  • @bareetsingh
    @bareetsingh 5 ปีที่แล้ว

    Thanx Sir

  • @sameekshabharti9222
    @sameekshabharti9222 4 ปีที่แล้ว

    Sir ye output me hr string new line me q print ho raha hai

    • @antrikshtelang4525
      @antrikshtelang4525 4 ปีที่แล้ว

      Due to println() function...
      println() method or function shifts the control to the next line after it prints it's contents.
      Hope it helped.

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

    sir aap kaise kar rah kuchh samjhh nhi aa raha