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 .

答案:登入後查看
統計: A(1), B(4), C(0), D(1), E(0) #3081415

詳解 (共 1 筆)

#7092047
題目解析 這題的重點在於了解虛擬析構函數...
(共 785 字,隱藏中)
前往觀看
0
0