Answer Posted / rahul
virtual destructor is just to remove the variable without
knowing its type.....
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is multilevel inheritance in oop?
What is encapsulation and abstraction? How are they implemented in C++?
What is abstraction in oop with example?
Why interface is used?
#include
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
Why do we use oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What are main features of oop?
What are the benefits of interface?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
Why is polymorphism used?
Why is polymorphism important in oop?
Where You Can Use Interface in your Project
What are the three parts of a simple empty class?