A method is overridden if there is a method in the subclass that has the same name and the ________ set of parameters.

Skill/Topic: Inheritance
A) Same
B) Different
C) Mixed
D) None of the above

Showing Answers 1 - 10 of 10 Answers

same parameter


overriden: super class, method declared as private than sub class method can't be overriden.
super class method declared as defalut ie emepty than subclass method should be the same or high access specifier...............like

accesspecifier should be the same or high in subclass methods.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions