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 advantages of PHP over HTML?
11 Answers Infosys, Torque Infotech,
why we use @symbol before the variable
what is interface in java.
What language is php written in?
How to get the total number of values in an array?
How to convert numbers to strings in php?
How do I find out the number of parameters passed into function?
Explain mail function in PHP with syntax?
Which function is used to read a file removing the html and php tags in it upwork?
What is mysqli php?
What is global array in php?
Tell me is it possible to remove the html tags from data?