When a subclass overloads a superclass method __________.
A) both methods may be called with a subclass object
B) only the subclass method may be called with a subclass object
C) only the superclass method may be called with a subclass object
D) neither method may be called with a subclass object
Correct Answer:
Verified
Q54: What is wrong with the following code?
Q55: If a subclass constructor does not explicitly
Q56: In the following statement, which is the
Q57: Which of the following statements correctly specifies
Q58: Which of the following is the operator
Q59: In the following code, which line will
Q60: When a method is declared with the
Q61: If two methods have the same name
Q62: When declaring class data members it is
Q63: Replacing inadequate superclass methods with more suitable
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents