Examveda
Examveda

Which of these is correct way of calling a constructor having no parameters, of superclass A by subclass B?

A. super(void);

B. superclass.();

C. super.A();

D. super();

Answer: Option D


This Question Belongs to Java Program >> Overriding And Overloading

Join The Discussion

Related Questions on Overriding and Overloading