What is virtual destructor? Why?
Answer Posted / mugdha taru
virtual destructor are those who can not override while
redefining derived class.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
any one please tell me the purpose of operator overloading
Can a destructor be called directly?
What is polymorphism what are the different types of polymorphism?
What is meant by multiple inheritance?
What is abstraction in oops?
What is balance factor?
What is the real time example of inheritance?
What is methods in oop?
What is overriding in oop?
What are functions in oop?
Can you explain polymorphism?
Is enum a class?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is a class and object?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?