Database-Management-System
April 19, 2024Question 8476 – Arrays
April 19, 2024OOPS
|
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.
|
Overloads
|
|
|
Friendships
|
|
|
Inherits
|
|
|
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.
