finalize() Java Destructor

About finalize() Java Destructor method The finalize() method is equivalent to a destructor of C++. When the job of an object is over, or to say, the object is no more used in the program, the object is known as garbage. The process of removing the object from a running program is known as garbage …

finalize() Java Destructor Read More »