房东要让修洗手间地面怎么办?# Living
h*g
1 楼
Which one of the following statements is correct?
A.
A virtual destructor is required in any class with pure virtual member
functions.
B.
A virtual destructor needs to be written in any classes with a virtual
constructor.
C.
A base class must have a virtual destructor when someone uses a base class
pointer to delete a derived class object.
D.
Virtual destructors are obsolete and should never be used except in legacy
code.
E.
Every class must have a virtual destructor.
A 为什么不对呢?
A.
A virtual destructor is required in any class with pure virtual member
functions.
B.
A virtual destructor needs to be written in any classes with a virtual
constructor.
C.
A base class must have a virtual destructor when someone uses a base class
pointer to delete a derived class object.
D.
Virtual destructors are obsolete and should never be used except in legacy
code.
E.
Every class must have a virtual destructor.
A 为什么不对呢?