Garbage collection identifies and discards objects that are no longer needed by a program so that their resources can be reclaimed and reused.
A Java object is subject to garbage collection when it becomes unreachable to the program in which it is used.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.