Solved

If a Subclass Defines the Same Method Name and the Same

Question 36

Multiple Choice

If a subclass defines the same method name and the same parameter types for a method that appears in its superclass, ____.


A) the subclass has overloaded its superclass's method.
B) the subclass has overridden its superclass's method.
C) the subclass has implemented its superclass's method.
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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents