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
Which type does string inherit from?
What is difference between abstraction and encapsulation?
What do you mean by variable?
What is constructor overloading in oop?
Why multiple inheritance is not allowed?
What is the point of polymorphism?
Get me an image implementation program.
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
Why is static class not inherited?
i got a backdoor offer in process global,Bangalore..Can i work with it?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is encapsulation selenium?
What is destructor oops?
What is oops and why we use oops?
What does and I oop mean?