1.

Which among the following is true?

A. A class may have virtual destructor but not virtual constructor
B. A class may have virtual constructor but not virtual destructor
C. A class may have virtual constructor and virtual constructor
D. A class may have either virtual destructor or virtual constructor
Answer» B. A class may have virtual constructor but not virtual destructor


Discussion

No Comment Found

Related MCQs