When a method in a subclass has the same name and type signatures as a method in the superclass, then the method in the subclass ________ the method in the…
When a method in a subclass has the same name and type signatures as a method in the superclass, then the method in the subclass ________ the method in the superclass.
Show answerHide answer
Correct answer: (D) Over rides
Explanation
In a class hierarchy, when a method in a subclass has the name and type signatures as a method in its superclass, then the method in the subclass is said to over ride the method in the superclass.