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 encapsulation c#?
What is oops in simple words?
What is object in oop with example?
What is class in oop with example?
Advantage and disadvantage of routing in telecom sector
What are different oops concepts?
How do you answer polymorphism?
What is encapsulation in ict?
#include
What is oops?what is its use in software engineering?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is abstraction oop?
What is encapsulation selenium?
What are two types of polymorphism?
How do you define social class?