Tuesday, March 10, 2009

What is the purpose of finalization? (CoreJava)

Question :What is the purpose of finalization? (CoreJava)
Answer :The purpose of finalization is to give an unreachable object the
opportunity to perform any cleanup processing before the object is
garbage collected.

No comments: