When all of a superclass's subclasses need a method, but each needs a different behavior from that method, the superclass should declare the method as a(n) ____ method.

A. static
B. private
C. class
D. abstract


Answer: D

Computer Science & Information Technology

You might also like to view...

A __________ of a class called myClass is another class whose methods call the methods of myClass.

a. consumer b. servant c. caller d. client

Computer Science & Information Technology

What type of software is used to control a computer?

A. Application B. Operating system C. Utility D. Interface

Computer Science & Information Technology

What tasks are typically performed when working with stored files in an application?

What will be an ideal response?

Computer Science & Information Technology

Fluid Grid layouts are based on two device sizes, mobile and desktop.

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

Computer Science & Information Technology