File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes finalize() method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "finalize() method" Watch "finalize() method" New topic

finalize() method

Rohit Bhal
Ranch Hand

Joined: Aug 28, 2007
Posts: 44
Could anyone please explain me with example that how finalize() method can actually result in saving an object from deletion?

Thank you.

Skip Skipping
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.
I agree. Here's the link:
subject: finalize() method
It's not a secret anymore!