Computer Science, asked by Aqib2229, 11 months ago

What is the significance of super method? Give on example of the same.

Answers

Answered by expert1262
0

Hi, This is your answer

It is used inside a sub-class method definition to call a method defined in the super class. Private methods of the super-class cannot be called. Only public and protected methods can be called by the super keyword. It is also used by class constructors to invoke constructors of its parent class.

Hope you like my answer☺☺


Anonymous: hui
Similar questions