Answer Posted / hemlata selokar
At the time of inheritance, when we are deleting the object
of derived class with the help of base class pointer that
time virtual destructors are used... After making base class
destructor as virtual, the derived class destructor is
called first followed by base class destructor...With the
help of this proper sequence is maintained and helps in
proper execution.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write a programe to calculate the simple intrest and compund intrest using by function overlading
What are the 3 pillars of oop?
Is html an oop?
How oops is better than procedural?
Why oops is important?
write a program to find 2^n+1 ?
Why is abstraction used?
What are functions in oop?
Can an interface inherit a class?
Why is polymorphism important in oop?
Is abstract thinking intelligence?
What is object-oriented programming? Webopedia definition
Can main method override?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is advantage of inheritance?