Home » JAVA Programming » Methods » Question
  1. Which of these is correct way of calling a constructor having no parameters, of superclass A by subclass B?
    1. super();
    2. super.A();
    3. superclass.();
    4. super(void);
    5. None of these
Correct Option: D

super();



Your comments will be displayed only after manual approval.