Programming MCQS - QUESTION DETAILS

What is the role of the 'super' keyword in Java?
A. Invoke superclass constructor
B. Refer to the subclass object
C. Invoke a static method
D. Create a superclass instance

'super' is used to invoke the superclass constructor.

Similar Questions

How do you declare an array in Java?






What is Java?






Which keyword is used to declare a constant in Java?






What is the purpose of the 'try-catch' block in Java?






How do you achieve multiple inheritance in Java?






What is the purpose of the 'finally' block in Java?






What is the entry point for the execution of a Java program?






Which operator is used for object instantiation in Java?






How do you create a thread in Java?






Which of the following is not a primitive data type in Java?