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...

A multihomed customer ___

a. Has multiple Internet connections b. Uses static routes c. Has an inside router d. Both a and b

Computer Science & Information Technology

What is the maximum range for a Bluetooth class 2 device?

A) ~3 feet B) ~15 feet C) ~27 feet D) ~33 feet E) ~100 feet

Computer Science & Information Technology