Database-Management-System
April 19, 2024
Question 8476 – Arrays
April 19, 2024
Database-Management-System
April 19, 2024
Question 8476 – Arrays
April 19, 2024

OOPS

Question 63
When a method in a subclass has the same name and type signatures as a method in the super class, then the method in the subclass _____ the method in the super class.
A
Overloads
B
Friendships
C
Inherits
D
Overrides
Question 63 Explanation: 
→ 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 overrides the method in the superclass.
Correct Answer: D
Question 63 Explanation: 
→ 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 overrides the method in the superclass.

Leave a Reply

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