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
What is destructor in oop?
What does and I oop mean in text?
What is polymorphism used for?
Please send ford technologies placement paper 2 my mail id
How do you define social class?
What is inheritance and how many types of inheritance?
Where You Can Use Interface in your Project
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is new keyword in oops?
can we make game by using c
How to hide the base class functionality in Inheritance?
What are the features of oop?
How oops is better than procedural?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
what are the different types of qualifier in java?