Var-arg method (part-1): Introduction and syntax

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • DURGASOFT is INDIA's No.1 Software Training Center offers
    online training on various technologies like JAVA, .NET ,
    ANDROID,HADOOP,TESTING TOOLS , ADF, INFORMATICA, SAP...
    courses from Hyderabad & Bangalore -India with Real Time Experts.
    Mail us your requirements to durgasoftonlinetraining@gmail.com
    so that our Supporting Team will arrange Demo Sessions.
    Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696.
    durgasoft.com
    durgasoftonline...
    / durgasoftware
    durgajobs.com
    / durgajobsinfo.... .
    This is the updated video of Queue concept.
    This is the classroom video at DURGASOFT.
    Content : var-arg methods
    You can find the Collection Framework videos in sequence at
    durgajobs.com/d...

Komentáře • 29

  • @GautamKumar-qx3rt
    @GautamKumar-qx3rt Před 3 lety +1

    i founded many video but finally got it Really Helpful video Thank You Sir

  • @kvnagendra5354
    @kvnagendra5354 Před 5 lety +2

    *We love Durga sir. If you love Durga sir then smashhhh the like button*

  • @abhishekdubey7422
    @abhishekdubey7422 Před 9 lety +1

    Sir u r the best teacher,i ever had

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  Před 9 lety

      Hello,
      We are very Happy to say Now you can access All DURGA Sir's
      Core Java with OCJP/SCJP Video Sessions(200 Videos,21 Chapters,200 hours ). To
      get Maximum Benefit from these video sessions, compulsory you have to write
      notes also. Sir will dictate each and every point clearly.
      Demo Sessions on
      CZcams:
      1.LanguageFundamentals(16Videos) czcams.com/video/eTXd89t8ngI/video.html
      2.Operators&Assignments(7Videos) czcams.com/video/1JGOPhIyhAM/video.html
      3.FlowControl(6Videos) czcams.com/video/X6rS9vD9qM/video.html
      4.ExceptionHandling(10Videos) czcams.com/play/PLd3UqWTnYXOnSkaum39zWYI6bPb3i7liz.html
      Please give your valuable feedback and it is very important
      and helpful for us.
      Note:-If you are interested for full version of videos
      please revert back for more information.
      Fee : 6000/-
      Duration: 6-months
      DURGASOFT Online
      Training Team,
      Mobile : +91-8885 25
      26 27, +91-7207 21 24 28
      Mail ID : durgasoftonline@gmail.com ,
      durgasoftonlinetraining@gmail.com

  • @Devloper56
    @Devloper56 Před 7 měsíci +1

    Awesome

  • @aparajitakumari2936
    @aparajitakumari2936 Před 4 lety +1

    I could understand it in one go.
    Thank you

  • @xuvmotorKnowledge
    @xuvmotorKnowledge Před 8 lety +1

    durga sir u are doing a great job i am working in gud mnc but not seen a talented person like u.

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  Před 8 lety

      Hello,
      We are very Happy to say Now you can access All DURGA Sir's
      Core Java with OCJP/SCJP Video Sessions(200 Videos,21 Chapters,200 hours ). To
      get Maximum Benefit from these video sessions, compulsory you have to write
      notes also. Sir will dictate each and every point clearly.
      Demo Sessions on
      CZcams:
      1.LanguageFundamentals(16Videos) czcams.com/video/eTXd89t8ngI/video.html
      2.Operators&Assignments(7Videos) czcams.com/video/1JGOPhIyhAM/video.html
      3.FlowControl(6Videos) czcams.com/video/X6rS9vD9qM/video.html
      4.ExceptionHandling(10Videos) czcams.com/play/PLd3UqWTnYXOnSkaum39zWYI6bPb3i7liz.html
      Please give your valuable feedback and it is very important
      and helpful for us.
      Note:-If you are interested for full version of videos
      please revert back for more information.
      Fee : 6000/-
      Duration: 6-months
      DURGASOFT Online
      Training Team,
      Mobile : +91-8885 25
      26 27, +91-7207 21 24 28
      Mail ID : durgasoftonline@gmail.com ,
      durgasoftonlinetraining@gmail.com

  • @IndianFromDownUnder
    @IndianFromDownUnder Před 7 lety +1

    There is a mistake in this program (16:14)
    It should be-
    for(int x1:x)
    {
    total = total + x1 ; // It should be x1 instead of x
    }
    // Correct me if I am wrong
    //and your lectures are very helpful. Thank you so much !!

    • @LalGebi
      @LalGebi Před 7 lety

      Ye.. you are right but its typo mistake .. one should understand it..thing is we should understand the concept..

  • @manojkumar4439
    @manojkumar4439 Před 8 lety

    thats too good for everyone,,,,,,,,,,,,,,,,,,those people want to learn java.

  • @user-kx7qy7sr7t
    @user-kx7qy7sr7t Před rokem +1

    👌👌👍👍👌👌

  • @abhipatel439
    @abhipatel439 Před 2 lety +1

    SIR YOUR IS REALLY GOOD. BUT I WOULD RECOMEND EVERY STUDENT TO WATCH AT SPEED "1.50" INSTEAD OD NORMAL SPEED "1".

  • @nstha8848
    @nstha8848 Před 8 lety +5

    There is slight mistake in example @ 9:57
    m1();
    m2(10);
    m3(10,20);
    .
    .
    .
    I think it should have been all like:
    m1();
    m1(10);
    m1(10,20);
    m1(10,20,30);
    .
    .
    .
    .
    Just a typing mistake in the given example :)

    • @LalGebi
      @LalGebi Před 7 lety

      no.. its not an error.. the explanation is in context with creating different methods and calling them from main method..

    • @RavishKumarVsGodiMedias
      @RavishKumarVsGodiMedias Před 5 lety

      u r right. bcz you have only one method that is m, there are no multiple methods inside the var_arguments program.

    • @ashishagrawal7709
      @ashishagrawal7709 Před 5 lety

      right Nitish, its tying mistake

  • @aishwaryagyanjyoti7205
    @aishwaryagyanjyoti7205 Před 7 lety +1

    The way you taught each and every topic made my doubts cleared.... Please upload more videos related to core java.

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  Před 7 lety

      Hi Ashwarya. For more Core Java Videos plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627

  • @kolantiramya7739
    @kolantiramya7739 Před 9 měsíci +1

    🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @direndrasubba5237
    @direndrasubba5237 Před 8 lety

    Thank u sir. You are really awesome.

  • @sumitrajdhasmana9459
    @sumitrajdhasmana9459 Před 4 lety +1

    Sir please upload your lesson about spring framework...i want to learn from you...please sir

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  Před 4 lety

      Hello Sumitraj.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @nagraj1729
    @nagraj1729 Před 4 lety +1

    sir when number of parameter is not a problem,, how compile time polymorphism is implemented?

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  Před 4 lety

      Hello Raj.
      Plz contact our online team durgasoftonlinetraining@gmail.com or call us on this number +918885252627, 7207212427/28

  • @nagavaishnavijuturu3636

    Sir,
    If m1(int[] a) is same as m1(int... a), then what is the use of introducing var-arg method in java. Why can't we simply use one-dimensional array concept in the place of var-arg method.

    • @jvsnyc
      @jvsnyc Před 4 lety

      Because then you can only call it using an array, not passing some various number of independent scalar variables.

  • @ManasHalder
    @ManasHalder Před 8 lety

    Sir
    I really like teaching Technic . But there is no one video java method which one i am going to say.
    In c programming i have seen that one method like without return type and with parameter. but in case of java how can i apply this method with scanner class. following program is not running....
    import java.util.Scanner;
    class Method3
    {
    public void add(int a, int b)
    {
    int c;
    Scanner sc=new Scanner(System.in);
    a=sc.nextInt();
    b=sc.nextInt();
    c=a+b;
    System.out.print("Result of C="+c);
    }
    public static void main()
    {
    int a=0,b=0; //here is the problem but how can solve it.
    Method3 m3=new Method3();
    m3.add(a,b);
    }
    }