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

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 29

  • @GautamKumar-qx3rt
    @GautamKumar-qx3rt 3 года назад +1

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

  • @kvnagendra5354
    @kvnagendra5354 6 лет назад +2

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

  • @abhishekdubey7422
    @abhishekdubey7422 9 лет назад +1

    Sir u r the best teacher,i ever had

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  9 лет назад

      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
      RUclips:
      1.LanguageFundamentals(16Videos) ruclips.net/video/eTXd89t8ngI/видео.html
      2.Operators&Assignments(7Videos) ruclips.net/video/1JGOPhIyhAM/видео.html
      3.FlowControl(6Videos) ruclips.net/video/X6rS9vD9qM/видео.html
      4.ExceptionHandling(10Videos) ruclips.net/p/PLd3UqWTnYXOnSkaum39zWYI6bPb3i7liz
      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

  • @xuvmotorKnowledge
    @xuvmotorKnowledge 9 лет назад +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  9 лет назад

      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
      RUclips:
      1.LanguageFundamentals(16Videos) ruclips.net/video/eTXd89t8ngI/видео.html
      2.Operators&Assignments(7Videos) ruclips.net/video/1JGOPhIyhAM/видео.html
      3.FlowControl(6Videos) ruclips.net/video/X6rS9vD9qM/видео.html
      4.ExceptionHandling(10Videos) ruclips.net/p/PLd3UqWTnYXOnSkaum39zWYI6bPb3i7liz
      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 9 месяцев назад +1

    Awesome

  • @aparajitakumari2936
    @aparajitakumari2936 4 года назад +1

    I could understand it in one go.
    Thank you

  • @IndianFromDownUnder
    @IndianFromDownUnder 7 лет назад +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 7 лет назад

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

  • @manojkumar4439
    @manojkumar4439 8 лет назад

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

  • @राजनगोंगल
    @राजनगोंगल Год назад +1

    👌👌👍👍👌👌

  • @abhipatel439
    @abhipatel439 3 года назад +1

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

  • @aishwaryagyanjyoti7205
    @aishwaryagyanjyoti7205 7 лет назад +1

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

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  7 лет назад

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

  • @kolantiramya7739
    @kolantiramya7739 Год назад +1

    🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @nstha8848
    @nstha8848 8 лет назад +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 7 лет назад

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

    • @RavishKumarVsGodiMedias
      @RavishKumarVsGodiMedias 6 лет назад

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

    • @ashishagrawal7709
      @ashishagrawal7709 5 лет назад

      right Nitish, its tying mistake

  • @direndrasubba5237
    @direndrasubba5237 8 лет назад

    Thank u sir. You are really awesome.

  • @nagraj1729
    @nagraj1729 4 года назад +1

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

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  4 года назад

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

  • @sumitrajdhasmana9459
    @sumitrajdhasmana9459 4 года назад +1

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

    • @DurgaSoftwareSolutions
      @DurgaSoftwareSolutions  4 года назад

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

  • @nagavaishnavijuturu3636
    @nagavaishnavijuturu3636 9 лет назад

    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 4 года назад

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

  • @ManasHalder
    @ManasHalder 8 лет назад

    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);
    }
    }