Home > DeveloperSection > Interviews > whait is the super in java?

Posted on    January-03-2011 12:00 AM

 Java Java 
 2 Answer(s)
  904  View(s)
Rate this:

Mahesh Rawat
Mahesh Rawat

Total Post:138

Posted on    January-03-2011 1:00 AM

Super is a keyword which is used to execute an overridden method in the super class.

With super() the superclass no-argument constructor is called.

Anurag Chaurasia
Anurag Chaurasia

Total Post:5

Posted on    February-14-2011 1:00 AM

super is used to refer the constructor of parent class.we can also initilize the variables of parent class by using super keyword and also can call the  methods of parent class.

Don't want to miss updates? Please click the below button!

Follow MindStick