Answer Posted / ramakant
Normally (in fact almost always) you never explicitly call
the destructor, it is automatically called by the C++ frame
work when the object is deleted/goes out of scope.
Therefore you would not need to overload the destructor
because the frame work always calls the default destructor.
Additionally the C++ standard defines that a conforming
compiler only allows for 1 destructor per class.
| Is This Answer Correct ? | 21 Yes | 2 No |
Post New Answer View All Answers
Is react oop?
c++ program to swap the objects of two different classes
What is class and example?
Why is destructor used?
What does it mean when someone says I oop?
What is an interface in oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What are the three main types of variables?
What makes a language oop?
How Do you Code Composition and Aggregation in C++ ?
What is coupling in oop?
Prepare me a program for the animation of train
What is polymorphism explain its types?
What are the 4 pillars of oop?
What does <> mean pseudocode?