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 original Method 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.

d. None of the above.

Computer Science & Information Technology

You might also like to view...

Mail ________ combines data from a main document and a data source

Fill in the blank(s) with correct word

Computer Science & Information Technology

For each numbering base system, the far right always has a place value of ________

Fill in the blank(s) with correct word

Computer Science & Information Technology