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
How many data types are there in php?
What sized websites have you worked on in the past?
Why post method is used in php?
What is the function of mysql_real_escape_string in php?
How do I install php and apache on windows 10?
How to delete a file from the system?
How can a cross-site scripting attack be prevented by php?
What changes I have to do in php.ini file for file uploading?
Which php framework is best for beginners?
Explain php explode() function.
What are php functions?
How to track no of user logged in?
How can we increase execution time of a php script?
What are the php variables?
What are the different types of php variables?