Thursday, February 12, 2009

Under what conditions is an object's finalize() method invoked by the garbage collector

Question :Under what conditions is an object's finalize() method invoked by the garbage collector?
Answer :The garbage collector invokes an object's finalize() method when it detects that the object has become unreachable.

No comments: