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 stream in oop?

1361


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

5055


What is overloading in oop?

1052


What is oops in simple words?

1168


What is new keyword in oops?

1102


What is an interface in oop?

1093


Can a destructor be called directly?

1139


Can private class be inherited?

1227


Why is object oriented programming so hard?

1134


Why do while loop is used?

1102


How Do you Code Composition and Aggregation in C++ ?

25616


What is abstraction encapsulation?

1202


What is object in oop?

1173


What is coupling in oop?

1087


Can we create object of interface?

1182