Discussion Forum : Introduction To Methods And Streams
Question -

Which of these is correct way of calling a constructor having no parameters, of superclass 

A by subclass B?

Options:
A .  super(void);
B .  superclass.();
C .  super.A();
D .  super();
Answer: Option D

None.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *