No video

8.11 What is Super Keyword in Java Part 1

  Рет қаралды 179,805

Telusko

Telusko

Күн бұрын

Java Programming/Keywords/super.
It is used inside a sub-class method definition to call a method defined in the super class.
Private methods of the super-class cannot be called.
Only public and protected methods can be called by the super keyword.
Super is a keyword used in java to refer the super class or base class.
If the method overrides one of its superclass's methods, overridden method can be
invoked
through the use of the keyword super. It can be also used to refer to a hidden field.
Check out our website: www.telusko.com
Follow Telusko on Twitter: / navinreddy20
Follow on Facebook:
Telusko : / teluskolearnings
Navin Reddy : / navintelusko
Follow Navin Reddy on Instagram: / navinreddy20
Subscribe to our other channel:
Navin Reddy : / @navinreddy
Telusko Hindi :
/ @teluskohindi
Subscribe to the channel and learn Programming in easy way.
Java Tutorial for Beginners: goo.gl/p10QfB
C Tutorial Playlist : goo.gl/8v92pu
Android Tutorial for Beginners Playlist : goo.gl/MzlIUJ
XML Tutorial : goo.gl/Eo79do
Design Patterns in Java : goo.gl/Kd2MWE
Socket Programming in Java : goo.gl/jlMEbg
Spring MVC Tutorial : goo.gl/9ubbG2
OpenShift Tutorial for Beginners : goo.gl/s58BQH
Spring Framework with Maven : goo.gl/MaEluO
Sql Tutorial for Beginners : goo.gl/x3PrTg
String Handling in Java : goo.gl/zUdPwa
Array in Java : goo.gl/uXTaUy
Java Servlet : goo.gl/R5nHp8
Exception Handling in Java : goo.gl/N4NbAW

Пікірлер: 65
@vamsireddy6981
@vamsireddy6981 2 жыл бұрын
Superb sir nice explanation . .Total matter of this video is all about after 6 mins .just scroll up to 6th minute to save the time
@saswatdash1498
@saswatdash1498 8 жыл бұрын
Clear Explanation.
@marvhartigan3677
@marvhartigan3677 3 жыл бұрын
this has to be one of the cleanest and most precise explanations on inheritance, thanks a lot Telusko, buddy you saved me a lot of trouble, thanks a lot!!!!!!
@franklindrake3225
@franklindrake3225 3 жыл бұрын
Sorry to be so off topic but does any of you know a method to get back into an Instagram account..? I stupidly lost the login password. I would appreciate any assistance you can offer me!
@cashalonzo2641
@cashalonzo2641 3 жыл бұрын
@Franklin Drake Instablaster ;)
@franklindrake3225
@franklindrake3225 3 жыл бұрын
@Cash Alonzo thanks so much for your reply. I got to the site thru google and im in the hacking process atm. I see it takes quite some time so I will reply here later with my results.
@franklindrake3225
@franklindrake3225 3 жыл бұрын
@Cash Alonzo it worked and I finally got access to my account again. I'm so happy! Thank you so much, you saved my account :D
@cashalonzo2641
@cashalonzo2641 3 жыл бұрын
@Franklin Drake Happy to help :)
@manlinxu4977
@manlinxu4977 5 жыл бұрын
Thank you so much this makes so much more sense than all the explanations I've looked at. A little less fear for java now. You are AWESOME.
@anups6065
@anups6065 8 жыл бұрын
Thanks a lot sir..You told the super concept in very lucid language
@josephkreifelsii6596
@josephkreifelsii6596 6 жыл бұрын
I wish I could use the super keyword in real life.
@ahmednafiunoman5040
@ahmednafiunoman5040 7 жыл бұрын
the code was awesome sir.....u r great
@jayeshbagul3961
@jayeshbagul3961 Жыл бұрын
Classical Navin😎🔥
@zameelnm2365
@zameelnm2365 5 жыл бұрын
I don't knw y those 42 people unlike this video😈. What a man heads off.
@mirzarahman2104
@mirzarahman2104 3 жыл бұрын
simply awesome explanation sir🤝🤝
@SidTheBot
@SidTheBot 4 жыл бұрын
From 4:37 you stop using super keyword still your code calling both constructor how ?????????????????? . Please help😅
@priyam_1007
@priyam_1007 4 жыл бұрын
Watch video carefully , it is not compulsory to use super keyword if we want to call only the default constructor of parent class . 👍
@codersclub5016
@codersclub5016 4 жыл бұрын
Yes if we create the object of sub class then java machine automatically calls the constructor of super class to sub class in hierarchical order without using the super keyword.
@raunakpatharkar3099
@raunakpatharkar3099 6 жыл бұрын
Navin sir,considering the last example,where you pass an int value in the super(5) which is called in parameterized constructor of class B..Before that shouldn't there be a call to the default super(); ? Should be like below while runtime: super(); super(5); syso(); and o/p as : in Const A in Const A para in Const B para
@m.ibrahim128
@m.ibrahim128 3 жыл бұрын
you are my StackOverflow !!!
@rachitmongia5993
@rachitmongia5993 5 жыл бұрын
Top class! Sir do you provide Java paid training course as well ?
@sabiyana5192
@sabiyana5192 5 жыл бұрын
In java, when we create object that particular class constructor will be invoked, then y that B() constructor and A() constructor didnot print on console?we have created objects for them but yet they have not instantiated and printed on console.why?
@AnthonyRamtulla
@AnthonyRamtulla 4 жыл бұрын
Very good as usual
@ashishgaikwad
@ashishgaikwad 6 жыл бұрын
Sir, Can You Please Post The video on how to get Job as JAVA PROGRAMMER and what platform must need to understand.. What is knowledge important for entry level JAVA PROGRAMMER.. And what's will be expected ssalary.. so that can We prepare for interview and find that kind of job..
@HarrisTheHypnotist
@HarrisTheHypnotist 4 жыл бұрын
धन्यवाद! ਤੁਹਾਡਾ ਧੰਨਵਾਦ!!
@adithyak7233
@adithyak7233 8 жыл бұрын
Hi Naveen, it will be very helpful if you can include a link to download the codes you type. Thank you
@pravinandhale
@pravinandhale 4 жыл бұрын
practice it parallelly :)
@snehayannam6872
@snehayannam6872 9 жыл бұрын
sir,but in inheritence u told that if we pass the parameter of class B,then by default then the default method of class A will be called i.e is if we call B obj=new B(5), then output will be " in const A in const B para" but in super the output is " in const A para in const B para" which one is correct sir,pls explain
@Mal-vp6qn
@Mal-vp6qn 8 жыл бұрын
+sneha yannam plz review that video again, in inheritance, he does not passes para in a child constructor to parent's by using super(para);
@pgryt
@pgryt 3 жыл бұрын
Thanks sir telusukunna
@backtashmohammadi3824
@backtashmohammadi3824 6 жыл бұрын
what was the use of 5 here ?
@subhadiphazra2351
@subhadiphazra2351 6 жыл бұрын
is there any way to execute B first then A if B extends to A
@makaiyotube
@makaiyotube 3 жыл бұрын
the next video may give you an insight
@birkhansonkan4236
@birkhansonkan4236 8 жыл бұрын
where can we see the code which automatically extends every Class to Object class?
@jamesjackson4890
@jamesjackson4890 4 жыл бұрын
Useful...thanks dude
@slightlygruff
@slightlygruff 6 жыл бұрын
Why would it be beneficial to create both objects by default. Has java always been like that?
@shahdabtemori5930
@shahdabtemori5930 5 жыл бұрын
hahahahhahaha... finally got it i was about to cry...trying since loooooooooooooog freeking hours.. hah.
@damusingh4066
@damusingh4066 8 жыл бұрын
thank you very helpful video
@universalstarcreations7297
@universalstarcreations7297 3 жыл бұрын
@5:42 What if we remove default constructor in class A i.e public A() If we run the code now , will it produce only b class parameter constructor?
@Chandler890
@Chandler890 6 жыл бұрын
So you must have a default constructor to use super ()?
@apurvshah7309
@apurvshah7309 6 жыл бұрын
no
@hemanthdaduva2870
@hemanthdaduva2870 Жыл бұрын
Thank you
@sujithasugumar543
@sujithasugumar543 7 жыл бұрын
sir what default object class will return???
@vaasudhand3200
@vaasudhand3200 4 жыл бұрын
Can we call parameterized constructor of superclass from the default constructor of subclass?
@shwetalsolanki5636
@shwetalsolanki5636 4 жыл бұрын
No
@zaidmalik505
@zaidmalik505 3 жыл бұрын
Yup
@jacobkunjumon9340
@jacobkunjumon9340 7 жыл бұрын
what is object class?
@priyam_1007
@priyam_1007 4 жыл бұрын
Thanks sir 🙏🙏🙏
@adarshpawar
@adarshpawar 6 жыл бұрын
Its obvious people looking for "Super" keyword they don't know Inheritance so please try to explain in some simple way.
@ambikaaabt9651
@ambikaaabt9651 7 жыл бұрын
i will understand particular concept theory but not able to implement through code,sir please give me suggestions
@mohammedviso2269
@mohammedviso2269 7 жыл бұрын
which code you need ? I am glade to help you
@ambikaaabt9651
@ambikaaabt9651 7 жыл бұрын
i mean to say how i can improve my coding skills,how i should prepare myself to be perfect or to learn java
@ambikaaabt9651
@ambikaaabt9651 7 жыл бұрын
thank you sir for replaying.. i want to learn java in-depth so please help me
@jayareddy7205
@jayareddy7205 7 жыл бұрын
me to have same problem sir...pls expian me
@janishsiroya2670
@janishsiroya2670 8 жыл бұрын
Thank You!!
@sanjurokuwabatake5541
@sanjurokuwabatake5541 6 жыл бұрын
useful :)
@souidmehdi7881
@souidmehdi7881 6 жыл бұрын
subtitle please ?
@__________________________6910
@__________________________6910 2 жыл бұрын
2022
@youtubeaccount0x073
@youtubeaccount0x073 5 жыл бұрын
Please improve the mic quality 😭😭
@raazedilofficial2044
@raazedilofficial2044 5 жыл бұрын
not Understandable
@Persian771
@Persian771 6 жыл бұрын
Oh my god what was that you made me crazy.dindnt get what’s going on.
@ambikaaabt9651
@ambikaaabt9651 7 жыл бұрын
sir how to improve my communication skill
@Amankumar-lu2gi
@Amankumar-lu2gi 6 жыл бұрын
Ambika aABT :-talk to the mirror,listen English conversation, and that's all
@dhmilmile1
@dhmilmile1 6 жыл бұрын
total confusing
@akshaydhende3769
@akshaydhende3769 6 жыл бұрын
you are making it confusing insted of simpl
8.12 What is Super Keyword in Java Part 2
4:36
Telusko
Рет қаралды 93 М.
super keyword in java
10:04
Sudhakar Atchala
Рет қаралды 14 М.
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 22 МЛН
#42 This keyword in Java
9:45
Telusko
Рет қаралды 128 М.
Super Keyword in Java Full Tutorial - How to Use "super"
11:33
Coding with John
Рет қаралды 202 М.
Java Memory Model in 10 minutes
10:55
Defog Tech
Рет қаралды 259 М.
Generics in Java
14:26
Telusko
Рет қаралды 507 М.
P19 - This keyword in Java | Core Java |
12:56
H Y R Tutorials
Рет қаралды 16 М.
What is JSON ?
11:56
Telusko
Рет қаралды 1,1 МЛН
Java Super Keyword Tutorial #87
15:00
Alex Lee
Рет қаралды 228 М.
Java - Super Keyword
14:48
TutorialsPoint
Рет қаралды 21 М.
Blue Food VS Red Food Emoji Mukbang
00:33
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 22 МЛН