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 Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2497


What do you mean by Encapsulation?

1028


What are classes oop?

978


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

2023


Why is abstraction used?

1034


what is the drawback of classical methods in oops?

3317


Which is not an object oriented programming language?

941


How oops is better than procedural?

1031


How many human genes are polymorphic?

1003


Where is pseudocode used?

1033


What is difference between polymorphism and inheritance?

1026


Why polymorphism is used in oops?

998


Write a program to reverse a string using recursive function?

2278


Templates mean

2028


What is oops concept with example?

971