Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is use to destroy an object? illustrate.

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


Please Help Members By Posting Answers For Below Questions

What is a class and object?

1035


Why interface is used?

1004


What is abstraction in oop with example?

1103


Whats is abstraction in oops?

1056


Is enum a class?

1040


Can bst contain duplicates?

1179


What is encapsulation c#?

1060


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.

2225


What is destructor in oop?

1020


What is the real time example of encapsulation?

1047


What are two types of polymorphism?

1057


What does it mean when someone says I oop?

1050


How do you achieve runtime polymorphism?

1034


What is basic concept of oop?

1149


What does oop mean in snapchat?

1218