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

How is a session id generated?

987


Can we override magic methods in php?

996


What are encryption functions in php?

1080


What is the purpose of break and continue statement?

954


What is a helper function?

935


Explain why would we use === instead of ==?

923


How can i execute PHP File using Command Line?

967


Tell me how to create a text file in php?

968


What is php call function?

926


How I can control asset documents without GR/IR?

1615


Explain about the data types in PHP?

952


What is cms php?

940


What is php in full?

927


How to initiate a session in php?

1195


Which is the correct way to check if a session has already been started ?

981