Q:

Can we have a virtual destructor in C++?

0

Can we have a virtual destructor in C++?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

Yes, the destructor could be virtual in C++.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C++ Interview Questions For Experienced

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
When to use virtual destructors in c++?... >>
<< Why a class has only one destructor in c++?...