Why is it so that we can have virtual constructors but we
cannot have virtual destructors?
Answer Posted / sachinmundhra
vptr gets initialize in constructor. So in that case we
cannot have virtual constructor.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Why is abstraction used?
What is the use of oops?
• What are the desirable attributes for memory managment?
What is overriding vs overloading?
What is the significance of classes in oop?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is a function in oop?
What is the point of oop?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is interface? When and where is it used?
What is balance factor?
What are the data types in oop?
how to get the oracle certification? send me the answer
What is persistence in oop?
What is methods in oop?