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 ?

Answers were Sorted based on User's Feedback



What is the purpose of destructor ?..

Answer / sloog

Because destructors are are called when objects are
destroyed, they can be used for flushing a resource or
logging information on object destruction.

Is This Answer Correct ?    10 Yes 1 No

What is the purpose of destructor ?..

Answer / 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

More PHP Interview Questions

When do sessions end?

0 Answers  


Which is better php praogramming or cad/cam scope wise and also salaray wise?

0 Answers  


How is it possible to return a value from a function?

0 Answers  


Is php procedural or oop?

0 Answers  


What is mem_cache ? How do you put a database query into that ?

5 Answers   NIIT,


How to delete a file from the system?

0 Answers  


Write down the benefits of php7?

0 Answers  


What are classes in php?

0 Answers  


Why php is sometimes called as embedded scripting language?

0 Answers  


In php, objects are they passed by value or by reference?

0 Answers  


Why do we use javascript in php?

0 Answers  


Is there any function to find repeated value in an array? What is w2 standard

1 Answers  


Categories