Why is it so that we can have virtual constructors but we
cannot have virtual destructors?
Answers were Sorted based on User's Feedback
Answer / sachinmundhra
vptr gets initialize in constructor. So in that case we
cannot have virtual constructor.
| Is This Answer Correct ? | 5 Yes | 0 No |
What is protected in oop?
What is namespace?
what is difference between objects and function
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
difference between class and object
10 Answers Chandan, IBM, Magic Soft,
difference between overloading and overridding
How to overload new operator in c++
How to use CMutex, CSemaphore in VC++ MFC
What makes a language oop?
what is oppes
Can we create object of class with private constructor?
What does enum stand for?