Which of the following is true about an abstract base class?

a. no constructors or destructors should be provided
b. at least one member function is a pure virtual function
c. no objects of the class can be created
d. exactly two of the above
e. all of (a), (b), and (c)


D

Computer Science & Information Technology

You might also like to view...

Suppose x=10 and y=10 what is x after evaluating the expression (y >= 10) || (x++ > 10).

A. 10 B. 11 C. 9

Computer Science & Information Technology

Carefully define mutator and accessor functions of a class.

What will be an ideal response?

Computer Science & Information Technology

The method __________ gets the contents of the text field tf.

a. tf.getText(s) b. tf.getText() c. tf.getString() d. tf.findString()

Computer Science & Information Technology

Appliances usually perform multiple functions

Indicate whether the statement is true or false

Computer Science & Information Technology