Home / Programming MCQs / JAVA MCQs / Question


Ram Sharma • 170K Points

Q. The super() method is used to ___.

(A) Call constructor of friend class
(B) Is a declared method
(C) Call constructor of the parent class
(D) Call constructor


In Java programming language, the super() is a reference variable that is used to refer parent class constructors. The super can be used to call parent class's variables and methods. The super() can be used to call parent class' constructors only.

You must be Logged in to update hint/solution


Login to discuss.