Monday, 25 April 2016

When finalized() method is called ?


Before removing an object from memory
, Garbage collection thread invokes finalize() method of that object and gives an opportunity to perform any kind of cleanup required.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.