Which of the following statements about abstract base classes is true?

a) abstract base classes may contain data.
b) abstract base classes may not contain implementations of methods.
c) abstract base classes must declare all methods as abstract.
d) abstract base classes must declare all data members not given values as abstract.


a) abstract base classes may contain data.

Computer Science & Information Technology

You might also like to view...

A structured database makes it easy to locate records using a report.

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

Computer Science & Information Technology

Given the item marked 4 in the accompanying figure, the PC and Netbook options have been marked with the ____ attribute.

A. option B. choice C. checked D. selected

Computer Science & Information Technology

The original Internet ________

A) had only two nodes B) was called ARPANET C) was invented by Tim Berners-Lee D) came into existence in 1990

Computer Science & Information Technology

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

1) Stream manipulator showpoint forces floating-point values to print with the default six digits of precision unless the precision value has been changed, in which case floating-point values print with the specified precision. 2) The ostream member function put outputs the specified number of characters. 3) The stream manipulators dec, oct and hex affect only the next integer output operation. 4) By default, memory addresses are displayed as long integers.

Computer Science & Information Technology