1.

What is the purpose of the finalize() method?

Answer»

Finalize() method is BASICALLY a method of Object class specially used to perform cleanup OPERATIONS on unmanaged resources just before garbage collection. It is not at all INTENDED to be called a normal method. After the complete EXECUTION of finalize() method, the object gets DESTROYED automatically.



Discussion

No Comment Found