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 |
What are the differences between mysqli_connect and mysqli_pconnect?
Which software is used to run php programs?
How to find current date and time?
what is view?
What are php loops?
Which is correct about mysqli and pdo?
What is a null coalescing operator in php7?
What is mean tnq
How to install PHP with --mcrypt and --mhash?
Explain how is it possible to set an infinite execution time for php script?
What changes to done in PHP.ini file for file uploading?
What is use of preg_replace in php?