Solved

Consider Classes A, B and C, Where a Is an Abstract

Question 15

Multiple Choice

Consider classes A, B and C, where A is an abstract superclass, B is a concrete class that inherits from A and C is a concrete class that inherits from B. Class A declares abstract method originalMethod, implemented in class B. Which of the following statements is true of class C?


A) Method originalMethod cannot be overridden in class C-once it has been implemented in concrete class B, it is implicitly final.
B) Method originalMethod must be overridden in class C, or a compilation error will occur.
C) If method originalMethod is not overridden in class C but is called by an object of class C, an error occurs.
D) None of the above.

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