Calling Destructor How can i call destructor in java using System.gc() or manually. Please anyone give me a example program
Java... if) an object will be destroyed. Hence there is no direct equivalent of a destructor
PHP Constructor and Destructor
PHP Constructor & Destructor:
Like other OOP based languages PHP also... constructor.
PHP also supports destructor like C++. This method is called as soon... the destructor method of parent class by parent::__destruct().
garbage collection - Java Beginners
"algorithms.Instead of "destructor"
in c++ , java supports garbage collector.
For read more information :
http://www.roseindia.net/java/example/java/io... of memory.It identifies the objects that are no longer used by a program.