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 the purpose of destructor ?

Answer Posted / sunil kumar

A destructor is used to destroy the objects that have been
created earlier.Destructor is a member function whose name
is the same as the class name but is preceded by tilde sign.
It never takes any argument nor it returns any value.It`ll
be invoked implicitly by the compiler upon exit from the
program to clean up storage that is no longer accessible.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between characters 34 and x34?

976


What does the expression exception::__tostring means?

958


What is the difference between $name and $$name?

916


Is apache needed for php?

866


How the values are ordered in an array?

1015


Explain the difference between require() and require_once()?

901


Is php a dying language?

936


What are magic constants in php?

1014


What is the difference between file_get_contents() and file_put_contents() in php?

1107


Should I learn php before wordpress?

925


What software is required for php?

986


Is variable name casesensitive in php?

931


What is the importance of parser in php?

1125


What is a controller in php?

952


How do I escape data before storing it into the database?

912