What is the purpose of destructor ?
Answers were Sorted based on User's Feedback
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 |
How failures in execution are handled with include() and require() functions?
Which framework is best for php?
How to get best php developer Experience in Php with Sugar CRM / VTiger.
What is the most common http method?
What is sticky form in php?
Can php use gettext?
What is action hooks and filter hooks?
How to generate pdf file in php?
Which is the best php framework for a beginner?
What is difference between mysql_fetch_array and mysql_fetch_assoc?
How do you put a space in html?
What sized websites have you worked on in the past?