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

Configure the static NAT IP on the Customer router for server S1. The static IP address for the server S1 is 172.16.1.1. List the router prompt and the command used to complete this task.


What will be an ideal response?

Computer Science & Information Technology

Only after a called function requests that data be passed to it can the data be manipulated by the function to produce a useful result.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Select the name of the free, open source software that is by far the most popular DNS server software:

A. ?Microsoft DNS B. ?BIND C. ?Oracle Resolver D. ?Dnsmasq

Computer Science & Information Technology

The _________ table provides the value of the next output when the inputs and the present output are known, which is exactly the information needed to design the counter or any sequential circuit.

A. excitation B. Kenough C. J-K flip-flop D. FPGA

Computer Science & Information Technology