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 do you develop your own PHP extension ?
How do you end a session in php?
What is oops php?
Differentiate between php5 and php7?
Whether One-line comment begin with pound sing(#) in php?
what server connected
What is the use of mvc in php?
How to get the number of characters in a string?
How long will it take to learn php?
What is trim function in php?
What is serialization in php?
How do you achieve page caching in PHP?