Solved

If a Subclass Defines the Same Method Name and the Same

Question 83

Multiple Choice

If a subclass defines the same method name and the same parameter types for a method that appears in its superclass, which statement is true?


A) the subclass method overloads the superclass method.
B) the subclass method overrides the superclass method.
C) the subclass has implemented the method on behalf of the superclass.
D) a compiler error will occur.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions