View Single Post
  #2 (permalink)  
Old 05-10-2008, 10:05 AM
ram101 ram101 is offline
Senior Member
 
Join Date: Jun 2007
Posts: 274
Default

The purpose of garbage collection is to identify and discard 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.
Reply With Quote