virtual destructors must be used when:

a. The constructor in the base class is virtual.
b. delete is used on a base-class pointer to a derived-class object.
c. delete is used on a derived-class object.
d. A constructor in either the base class or derived class is virtual.


b. delete is used on a base-class pointer to a derived-class object.

Computer Science & Information Technology

You might also like to view...

The easiest way to set a first-line indent is to press the ________ key

A) Alt B) Esc C) Tab D) Ctrl

Computer Science & Information Technology

Background styles can be applied to single slides

Indicate whether the statement is true or false

Computer Science & Information Technology

?Identify the style that should be applied to remove clipping completely from an element.

A. ?clip: none B. ?clip: hidden C. ?clip: left D. ?clip: auto

Computer Science & Information Technology

The netstat command-line tool is effective in detecting viruses and worms.

a. true b. false

Computer Science & Information Technology