Open In App

UGC-NET | UGC NET CS 2016 July – II | Question 14

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.
(A) Overloads
(B) Friendships
(C) Inherits
(D) Overrides

Answer: (D)
Explanation:

So, option (D) is correct.

Quiz of this Question

Article Tags :