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 is a session id generated?
Can we override magic methods in php?
What are encryption functions in php?
What is the purpose of break and continue statement?
What is a helper function?
Explain why would we use === instead of ==?
How can i execute PHP File using Command Line?
Tell me how to create a text file in php?
What is php call function?
How I can control asset documents without GR/IR?
Explain about the data types in PHP?
What is cms php?
What is php in full?
How to initiate a session in php?
Which is the correct way to check if a session has already been started ?