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 does the identity operator ===compare two values in PHP?
Explain what is the difference between $var and $$var?
What is a php namespace?
Are static variables final?
What is 'float' property in css?
How to update memcached when you make changes to php?
write the prime number of program?in php
Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()
What are the benefits of using php?
Explain what are psrs? Choose 1 and briefly describe it?
What are the characteristics of php?
How can we extract string ‘abc.com ‘ from a string info@abc.com" target="_blank">http://info@abc.com using regular expression of php?