Programming MCQS - QUESTION DETAILS

What is the purpose of the 'super()' constructor in Java?
A. Invoke the superclass constructor
B. Refer to the parent class
C. Invoke the subclass constructor
D. Create a superclass instance

'super()' is used to invoke the superclass constructor in Java.

Similar Questions

Which of the following is a marker interface in Java?






How is a preprocessor directive indicated in C?






How do you declare a structure in C?






How is an abstract class different from an interface in Java?






What is the purpose of the 'volatile' keyword in C?






What is the purpose of the 'do-while' loop in C?






What is the output of printf("%d", sizeof(1.5));?






What is the purpose of the 'strtok' function in C?






What is the output of printf("%d", ~5);?






How do you declare a two-dimensional array in C?