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 long is session timeout?
Define about declare construct?
What are the ways to include file in php?
Specify pre-defined classes in php ?
Is php an oop?
Explain the difference between session and cookies in php?
When to use get and post request?
What is the difference between fopen() and fclose()?
what use of <?php
What is the PHP predefined variable that tells the What types of images that PHP supports?
How many types of inheritances used in php and how we achieve it.
How is it possible to parse a configuration file?