Solved

Virtual Destructors Must Be Used When

Question 16

Multiple Choice

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.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions