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:A
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();
Explanation: None.