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 |
Is it possible to get the screen resolution and like with php?
Give any ten basic functions in PHP?
Which function can be used to delete a file?
How can we destroy the session, how can we unset the variable of a session?
Which php mvc framework is best?
How do you check if a variable has not been set in php?
What is the most convenient hashing method to be used to hash passwords?
Why session is required?
how do we can copy of the content of a web page with the help og the URL and display them onto any other page
Which is better wamp or xampp?
Tell me what does pear stands for?
Why delimiter is used in mysql?