What is super keyword in java?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is super keyword in java??

3rd Nov 2020, 9:12 AM
Shaik Nabeen
Shaik Nabeen - avatar
4 Answers
+ 6
The super keyword refers to parent objects. It is used to call superclass methods, and to access the superclass constructor.
3rd Nov 2020, 9:50 AM
Kartik
Kartik - avatar
+ 4
`super` is a keyword that refers to the parent class.
3rd Nov 2020, 9:16 AM
Maxwell Anderson
Maxwell Anderson - avatar
+ 1
Just for fun: Maybe :"Sesame open" ?
3rd Nov 2020, 10:15 AM
Shadoff
Shadoff - avatar
0
Super is a reference to the parent variable or methods of class from which you have inherited in child class.
3rd Nov 2020, 11:42 AM
Nikhil Gupta
Nikhil Gupta - avatar