Answer Posted / sumeet sharma
Simple a destructor function is used for it.
it takes the resources acquired by the object.
it is called when the object goes "out of scope"
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is a class and object?
Why interface is used?
What is abstraction in oop with example?
Whats is abstraction in oops?
Is enum a class?
Can bst contain duplicates?
What is encapsulation c#?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is destructor in oop?
What is the real time example of encapsulation?
What are two types of polymorphism?
What does it mean when someone says I oop?
How do you achieve runtime polymorphism?
What is basic concept of oop?
What does oop mean in snapchat?