Which of these statements is true concerning inheritance and virtual functions?

A. Virtual functions can be used without derived classes for specifics.
B. A virtual function may be declared and implemented in any C++ class.
C. Derived classes must always have virtual functions.
D. Base classes always have virtual functions.


D

Computer Science & Information Technology

You might also like to view...

To view or modify a file, you first must ____.

A. edit it B. close it C. copy it D. open it

Computer Science & Information Technology

The table or query that supplies underlying data to a form or report is called the:

A) record source. B) object source. C) information source. D) data source.

Computer Science & Information Technology

Nothing diminishes application performance like inefficient code that takes up all of the available memory.

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

Computer Science & Information Technology

What type of disk is required if you want to access additional features such as disk spanning?

A. system B. active C. basic D. dynamic

Computer Science & Information Technology