This and Super keywords with Constructor Examples In Java

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 48

  • @ankitajaiswal4457
    @ankitajaiswal4457 6 років тому +12

    Such a crystal clear explanation--my concepts are well clear now.Can't thank you enough for this.Keep up the great work.

  • @kumareshjeyapal5809
    @kumareshjeyapal5809 5 років тому +11

    Sir even a non programmer can understand Java from you. Perfect explaination for keywords

  • @gn8167
    @gn8167 6 років тому +23

    30:35 , Some lady - I cant hear you
    Naveen: Bcoz i dint say anything
    and again mute that was lit LOL LOL

  • @Sharmams4
    @Sharmams4 Рік тому

    Learn from 1 video every day to be an expert in Java. Loved all your videos thoroughly, Naveen. Thank you!

  • @atulmishra6346
    @atulmishra6346 5 років тому +4

    Finally some great way to share a concrete KT to the world. Thanks Naveen , lots of best wishes

  • @Kishoregoud479
    @Kishoregoud479 Рік тому +1

    Thank you so much Naveen for outstanding & clarity explanation with examples

  • @WhiteKnight_OG
    @WhiteKnight_OG 8 місяців тому +1

    perfect video sir Thank you

  • @AshishDubeyash4you
    @AshishDubeyash4you 6 років тому +2

    Brother hats off to you. I have learned Constructor from various sources but was never able to understand why actually we use Constructor & you made it so simple & precise. Thank you so much. This Diwali I wish you long long life!! God Bless you!!

  • @divyanshagarwal1162
    @divyanshagarwal1162 6 років тому +3

    Sir your videos are something which is par excellence. Big thanks

  • @sushmashetty6246
    @sushmashetty6246 2 роки тому +1

    I don't know whether i would get a job in automation testing but your way of teaching is making me get addicted to Java.

  • @SmartProgramming
    @SmartProgramming 5 років тому +1

    nice one, very helpful tutorial, god bless you 👍👍👍🙂🙂🙂🙂

  • @v2factsand327
    @v2factsand327 2 роки тому

    Too much crystal concept Naveen , this is Vipin from tcs

  • @harinathgadikota2018
    @harinathgadikota2018 6 років тому +3

    hi naveen, i regularly following your core java class.thanks for your videos.

    • @harinathgadikota2018
      @harinathgadikota2018 6 років тому

      hi naveen, plz send me a link of selenium class from starting class and continuation...

  • @akarim3643
    @akarim3643 6 років тому +1

    Naveen, thanks for your hard work and dedication .....Good wishes .. keep up good work !!

  • @techzone2358
    @techzone2358 6 років тому +1

    Thanks bro. Now i am very clear about constructor. Keep it up

  • @alkabhardwaj1950
    @alkabhardwaj1950 4 роки тому

    Very nice sessions, the way you explain the concepts are really marvelous.

  • @amarahemalatha4078
    @amarahemalatha4078 5 років тому

    Gud Explanation..the way you are comparing java concepts with real time scenarios in project...

  • @sridevireddy1371
    @sridevireddy1371 7 років тому +1

    Thank You Naveen

  • @garmonbozialynch7003
    @garmonbozialynch7003 3 роки тому +6

    This guy should run his own University

  • @karthikbabu8342
    @karthikbabu8342 4 роки тому +1

    Helpful thala

  • @v2factsand327
    @v2factsand327 2 роки тому

    Awesome tutorial

  • @angitapatel6047
    @angitapatel6047 7 років тому +1

    Thanks Naveen.

  • @shobhit9826
    @shobhit9826 7 років тому +2

    Thanks Naveen, Please add remaining videos on Selenium Grid and Rest Api

  • @vikrantjatain4175
    @vikrantjatain4175 6 років тому +1

    Hi Naveen!
    Thanks for your sessions.
    Do we have video on Exception Handling too?

  • @abhishek231090
    @abhishek231090 4 роки тому

    Thanks Naveen for sharing knowledge I have some query 1 :- Is this compulsory to declare global variable in class and then initialise it with local variable as it given at 22:00

  • @nikitaagarwal862
    @nikitaagarwal862 5 років тому

    Hi Naveen, again an excellent video. I am a regular follower of your videos and the way you explain the concepts are amazing, I don't have any IT background but I have started writing codes only by following your videos. Thanks a lot sir for sharing your knowledge.Can you please share how I can access codes through your git repository.

    • @arunc8342
      @arunc8342 5 років тому

      ua-cam.com/video/UF8prUYlA98/v-deo.html

  • @abhijeets6593
    @abhijeets6593 5 років тому +1

    Naveen, i have a doubt, when we want to declare the global variables, we can do while we are creating them, why we need to pass through the constructor and use this keyword to declare it ?

  • @getanidea6253
    @getanidea6253 4 роки тому +1

    Nice tutorial and easy to understand as I m a beginner. How to create my own GIT repo…
    Plz help me

  • @lopunayak3188
    @lopunayak3188 5 років тому +2

    Nice video

  • @saileshramesh8113
    @saileshramesh8113 Рік тому

    Student: Naveen we can't hear you!
    Naveen's savage reply: Because I didn't say anything😂😂

  • @ankittiwari8079
    @ankittiwari8079 4 роки тому

    Hi Naveen, please make a video on upcasting and downcasting

  • @sravanthirampalli3493
    @sravanthirampalli3493 5 років тому

    what is the best way to practice the java concepts and the collections ? Is there any coding site just from the testing point of view, not a developer point of view.

  • @sapnasinha4769
    @sapnasinha4769 3 роки тому

    Hi Naveen can we create multiple parameters constructor. 🤔 Please respond

  • @krrishchheda2252
    @krrishchheda2252 6 років тому +1

    Can we extend more than one constructors??

  • @shanilaj5985
    @shanilaj5985 4 роки тому

    Hello Naveen....can you give me a real time example like why to use this keyword as we already use local variables

  • @anils1993
    @anils1993 3 роки тому +1

    In 2021 watching basics of java

  • @ashadaya5473
    @ashadaya5473 Рік тому

    if constructor is not there then we can initialize the global variables using this keyword within the non-static method also.

  • @RahulJha-bu7cv
    @RahulJha-bu7cv 4 роки тому

    Hi Naveen, I tried to override local and class variable by creating object inside constructor only. Output is giving very weird response. Please suggest whats wrong. can't we create object inside constructor?
    public class This {
    //class variable
    String name;
    int age;
    //parameterized constructor
    public This(String name, int age) {
    this.name = name;
    this.age = age;
    System.out.println("local variable name: "+name);
    System.out.println("local variable age: "+age);
    This obj = new This("mom", 30); // can't we create object inside constructor.
    System.out.println("class variable name: "+obj.name); //check this why error is giving.
    System.out.println("class variable age: "+obj.age);
    }
    public static void main(String[] args) {
    This obj = new This("tom", 25);
    System.out.println("class variable name: "+obj.name);
    System.out.println("class variable age: "+obj.age);
    }
    }

    • @sushmashetty6246
      @sushmashetty6246 2 роки тому

      We should create object in main method not inside a constructor

  • @ashadaya5473
    @ashadaya5473 Рік тому

    this is not super keyword ...it is super calling statement right?
    super keyword is used when we want the parent class non-static method implementation to be the o/p along with the child class method implemntation.

  • @tejastoley6714
    @tejastoley6714 4 роки тому

    At 30.51, we can't hear you.
    Naveen: because I didn't say anything.

  • @sindhusudhakaran1731
    @sindhusudhakaran1731 4 роки тому

    Thank you Naveen