問題詳情

85. virtual destructors must be used when:
(A) The constructor in the base class is virtual.
(B) delete is used on a base-class pointer that points to a derived-class object.
(C) delete is used on a derived-class object.
(D) Every member function of the base class is virtual .
(E) Every data member of the base class is virtual .

參考答案

答案:B
難度:計算中-1
書單:沒有書單,新增