Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
The finalize() method will always be invoked once before the object is garbagecollected. However, the finalize() method might never be invoked for an object in itslifetime, because there is no guarantee that it will get garbage collected.Then what is the use of the finalize() method? Why should we use it?
Related Answered Questions
Related Open Questions