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.

D

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT a handout printing option?

A) Six B) Two C) All D) One

Computer Science & Information Technology

Chart styles are located in the ________ tab

A) Chart Styles group on the Chart Tools Design B) Chart Formats group on the Chart Tools Design C) Chart Styles group on the Chart Design D) Chart Formats group on the Chart Design

Computer Science & Information Technology