No video

#51 This and Super Method in Java

  Рет қаралды 103,062

Telusko

Telusko

Күн бұрын

Пікірлер: 84
@LekhotlaMichaelLetsie
@LekhotlaMichaelLetsie Жыл бұрын
That John Cena reference was on another level.there is no way i am going to forget super method after that 😁
@meili7739
@meili7739 Жыл бұрын
You are the best Java teacher on KZfaq. I subscribed to this channel and am learning one concept every day. You explain each concept in a very clear and concise but get to the point which helps me to learn quickly.
@deepthimr8555
@deepthimr8555 7 ай бұрын
i have seen multiple videos for constructors and you always be my favorite. the kind of ease in your teaching is amazing and the humor that you add in between help us remember the key points. Thank you so much sir
@divakarpareek9466
@divakarpareek9466 10 ай бұрын
This is the best explanation of so many scenarios with a crisp and clear explanation
@sruthigudmella3322
@sruthigudmella3322 Жыл бұрын
You are an amazing teacher but pls reorder the playlist!
@shantanukulkarni8883
@shantanukulkarni8883 9 ай бұрын
Thank you for introducing me to John Cena memes
@navneetkumarmishra4470
@navneetkumarmishra4470 11 ай бұрын
Literally sir, so thankful to you ...what an amazing way to clear the depth topics....Hats off sir
@MFM88832
@MFM88832 4 ай бұрын
This is actually top-notch education, thank you for sharing so kindly your wisdom!
@GovinthanKSAIML
@GovinthanKSAIML 7 ай бұрын
Grateful to have found this channel, your way of explaining concepts is exactly what I've been looking for, keep up the good work Mr.Navin 👍
@sridharmurari3007
@sridharmurari3007 10 ай бұрын
What a way to teach and share knowledge ....!
@kingshukcs
@kingshukcs 8 ай бұрын
This is very well detailed and easy to understand. Thank You!
@Luffy_2804
@Luffy_2804 Жыл бұрын
9:04 best explanation was waiting for this concept QUALITY>>>QUANTITY
@krishnapatel-ys7nk
@krishnapatel-ys7nk 6 ай бұрын
Hi thanks for sharing such an amazing knowledge. But you need to reorder it ..this video should be after inheritance video... So plz reorder the playlist ...
@rakshiths4854
@rakshiths4854 2 ай бұрын
That's a deep explanation bro, thank you
@mf3396
@mf3396 Жыл бұрын
Very enlightening video, congrats!
@yashmishra4368
@yashmishra4368 14 күн бұрын
Great explanation
@swastikasrivastava4708
@swastikasrivastava4708 Ай бұрын
Hi sir, I have a doubt that when this() is used, why super() is not executed twice? As you have mentioned that all constructors by default will have super(); as the first line. It should be executed twice - 1st for parameterised constructor of B, the ln 2nd when this() calls the default constructor of B class. Also, thank you for making this playlist. It has helped me clear my java concepts in depth and not just definitions wise.
@bothighlights4179
@bothighlights4179 12 күн бұрын
When you type this() in a constructor the compiler doesn't insert super() by default! i hope it helped
@swastikasrivastava4708
@swastikasrivastava4708 12 күн бұрын
@@bothighlights4179 thanks :)
@tanujbhatt2184
@tanujbhatt2184 Жыл бұрын
11:58 , shouldn't super() for B be called twice? Once by the this()->B()->super() and then by B(int)->super() (As every constructor have super() by default)? Shouldn't the output be: in A (from super of B(int) ) in A (from this() of B(int) to B() to super of B() ) in B ( (from this() of B(int) to B() ) in B int
@bothighlights4179
@bothighlights4179 12 күн бұрын
When you type this() in a constructor the compiler doesn't insert super() by default! i hope it helped
@devanshupmanyu4640
@devanshupmanyu4640 4 ай бұрын
With your video you clearly teach inheritance concepts and the way u add some fuuny joke reference like john cena you can't see me so good to remind the things.
@AkashChoudri-o7n
@AkashChoudri-o7n 26 күн бұрын
I have one query! Instead of using this() is we can use the constructor chainning for this scenario??
@ooogabooga5111
@ooogabooga5111 4 ай бұрын
Now this was a good video, I liked it
@aninditadas7348
@aninditadas7348 10 ай бұрын
You are awesome :) , I am learning from your channel
@user-bv5yv2ev5t
@user-bv5yv2ev5t 5 ай бұрын
Wow, terrific explanation!
@sivakumar-mt2cz
@sivakumar-mt2cz Жыл бұрын
Thank you for sharing..
@hw_was_taken423
@hw_was_taken423 7 ай бұрын
the joke in the first sentence made me crack up, good work sir!
@anoopjalla8404
@anoopjalla8404 11 ай бұрын
dang I wish these videos were out when I was learning java for the first time.
@GK_developer
@GK_developer 4 ай бұрын
very nice explanation Navin I really like your way of teaching and explanation... I have a small doubt, is it possible to execute only child constructor without parent constructer execution like I need a output of "in B"? if yes how?
@mmahm4817
@mmahm4817 3 ай бұрын
Same question
@cherukukishore3568
@cherukukishore3568 20 күн бұрын
Very nice explanation. What if I don't want to call super class constructor?
@MoeMoe-qr7od
@MoeMoe-qr7od 7 ай бұрын
excellent tutorial Sir.
@skadoosh9365
@skadoosh9365 Жыл бұрын
hey!! sir your content is good but i persinally faced problem in the order of the videos. can you just reorder it again?
@sruthigudmella3322
@sruthigudmella3322 Жыл бұрын
yeah me too
@gowssheik489
@gowssheik489 Жыл бұрын
Very nice explanation sir
@opabhistudio
@opabhistudio 7 ай бұрын
Where we create main method so it have class which we save as a class name, it's main class or not
@adishct4371
@adishct4371 Жыл бұрын
Thank you for the knowledge.
@studychannel-xs5hu
@studychannel-xs5hu 3 ай бұрын
thanks sir
@AravStark
@AravStark 9 ай бұрын
efficiently taught
@user-hf5vp4hg2i
@user-hf5vp4hg2i 2 ай бұрын
hey so does the objects constructor also call super() ?
@MuditGupta07
@MuditGupta07 11 ай бұрын
can we parameterize the "This method" so that it accesses first the default B constructor followed by the int B and then default A the output wile be like : in A in B int in B
@madhumukkera3343
@madhumukkera3343 Жыл бұрын
sir ,the order of videos is misplaced
@jvuniverse7884
@jvuniverse7884 Жыл бұрын
Sir can you please provide the notes of this course?
@keshavagrawal3396
@keshavagrawal3396 3 ай бұрын
Sir I think there is a mistake in this . Super() doesn't behave as john cena in the constructor, it's there inside the class directly outside the constructor while extends any other class. @Telusko please confirm.
@HappyTest-rr3jq
@HappyTest-rr3jq Жыл бұрын
great, but what if i only want to call the constructor of class B is there a way to disable that super method, obviously not removing the extends A
@sakthipriya8653
@sakthipriya8653 Жыл бұрын
Same doubt
@isultan.official
@isultan.official 5 ай бұрын
Explanation ❤
@AyushKumar-bd7gq
@AyushKumar-bd7gq 6 ай бұрын
Sir, I have a doubt, is super only work on constructor ??
@RaviKumar-zb8bl
@RaviKumar-zb8bl 8 ай бұрын
thanks
@user-wv3jk7tg3z
@user-wv3jk7tg3z 9 күн бұрын
jhon cena caught me off guard LMAO i can't stop laughing
@user-si5wt1pu2o
@user-si5wt1pu2o 10 ай бұрын
Tq Sir Very Nice
@user-qn7lt2xb1n
@user-qn7lt2xb1n 2 ай бұрын
is class B not extending object class along with Class A?
@HishamMohammed-gh7eh
@HishamMohammed-gh7eh Жыл бұрын
Wow , amazing
@TuxTuxedo-oc9kg
@TuxTuxedo-oc9kg Жыл бұрын
It is indeed fun haha! great videos!
@emirwertyukes9587
@emirwertyukes9587 7 ай бұрын
The John Cena metaphor... I'm studying for my final exam (tomorrow) and that John Cena metaphor just made me laugh in all these stress. Thanks Telusko!
@jtotherock7244
@jtotherock7244 6 ай бұрын
This () and Super() are being invoked in public B(int) to call all ? Doesn't work?
@gayathridhana1000
@gayathridhana1000 Жыл бұрын
Thanks alot
@CHALLENGESTORY
@CHALLENGESTORY 9 ай бұрын
John Cena ? 😂 You can't see it..damn this guy is so fun..!!! and the way he teaches with those expressions and thought processes of a student and then coming to the answer..is the best part of what he does.
@CHALLENGESTORY
@CHALLENGESTORY 9 ай бұрын
guessing obvious wrong answers first like a student and then coming to the points and correct principles..
@ImperiaLGamer04
@ImperiaLGamer04 Жыл бұрын
you're damn good
@kishorekishore5648
@kishorekishore5648 28 күн бұрын
11:57 output=> int A int int A int B int B int becz=>public B(int a)=>it will also have super() am i right? anyone can clarify my doubt
@nosystemissaf3
@nosystemissaf3 Жыл бұрын
reorder the playlist
@heisenberg213
@heisenberg213 Жыл бұрын
What should we see in this playlist before this video
@abhijithtm1318
@abhijithtm1318 Жыл бұрын
@@heisenberg213 bro. this playlist is available as a 12hr long video. see the time stamps in that videos description
@jerryekwusigo3787
@jerryekwusigo3787 8 ай бұрын
Your boring jokes are the best. 😂😂😂 Talking about John Cena memes 😂
@nithin4457
@nithin4457 7 ай бұрын
How is the Class A getting called without creating an object of A ?
@tototaro-y5g
@tototaro-y5g 15 күн бұрын
Because we extended or inherited a class in b , so b class will have all the constructor of a as well and as we know constructor is called when object of its class have been created , so creating object for b , calling it's constructor as well it's super class which is a's constructor as well
@its_SR07
@its_SR07 Жыл бұрын
helpful :D
@bharadwajk6191
@bharadwajk6191 5 күн бұрын
class Parent { // public Parent() {} public Parent(int x) { System.out.println("Parent constructor called with x = " + x); } } class Child extends Parent { public Child() { System.out.println("Child default constructor called"); } public Child(int y) { super(y + 1); // Calling the parent constructor with y + 1 System.out.println("Child parameterized constructor called with y = " + y); } } class Main { public static void main(String[] args) { Child child1 = new Child(); // Implicit call to Parent's default constructor } } sir as here the parent class is not having the default constructor does that class wouldnt create its default .As this was giving an error. Can you please help me with this.
@ngonimugandani4504
@ngonimugandani4504 Жыл бұрын
hahaha the John Cena meme, that was funny
@user-gd3zc4hj8j
@user-gd3zc4hj8j 5 ай бұрын
❤❤❤❤
@polytrave
@polytrave 7 ай бұрын
i love you.
@nosystemissaf3
@nosystemissaf3 Жыл бұрын
i think inheritence is video number 48
@dhanushkumar1964
@dhanushkumar1964 29 күн бұрын
john cena : u can't see me 🤣🤣
@kvelez
@kvelez 11 ай бұрын
public class Main{ public static void main(String[] args) { B obj = new B();//Object through constructor obj.Announcement();//Method call } } class A{//parent class public A(){ //Constructor } public void Announcement(){ System.out.println("In A."); } } class B extends A{//inheritance public B(){ //Constructor } @Override //Changes method for B public void Announcement(){ super.Announcement();//Call the parents method System.out.println("In B.");//Overriden method } }
@msdivakar007
@msdivakar007 Жыл бұрын
John Cena is there and can't see
@sproopesh9847
@sproopesh9847 Жыл бұрын
May be its first comment
@sageheal-gt9ib
@sageheal-gt9ib 5 ай бұрын
are mughe chakkar aarhe hain
@tharindumandusanka7708
@tharindumandusanka7708 Жыл бұрын
2nd comment
@TheGloriousOne0
@TheGloriousOne0 2 ай бұрын
Jhon Cena ❤😂
@krishdokania8822
@krishdokania8822 Жыл бұрын
System.out.println("superbb teaching style! really interactive thankyou!");
#52 Method Overriding in Java
7:57
Telusko
Рет қаралды 132 М.
#50 Multiple Inheritance in Java
6:36
Telusko
Рет қаралды 77 М.
Nurse's Mission: Bringing Joy to Young Lives #shorts
00:17
Fabiosa Stories
Рет қаралды 6 МЛН
When you discover a family secret
00:59
im_siowei
Рет қаралды 24 МЛН
Zombie Boy Saved My Life 💚
00:29
Alan Chikin Chow
Рет қаралды 29 МЛН
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 14 МЛН
Top 50 Most Asked JavaScript Logical Interview Questions || Must Watch🤯😱
1:09:02
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 353 М.
Super Keyword in Java Full Tutorial - How to Use "super"
11:33
Coding with John
Рет қаралды 202 М.
#40 Encapsulation in Java
11:42
Telusko
Рет қаралды 166 М.
#61 Abstract Keyword in Java
12:09
Telusko
Рет қаралды 143 М.
Generics In Java - Full Simple Tutorial
17:34
Coding with John
Рет қаралды 1 МЛН
#58 Object Class equals toString hashcode in Java
12:00
Telusko
Рет қаралды 105 М.
#53 Packages in Java
12:20
Telusko
Рет қаралды 181 М.
Nurse's Mission: Bringing Joy to Young Lives #shorts
00:17
Fabiosa Stories
Рет қаралды 6 МЛН