Tuesday, January 23, 2007

Garbage Collection

In Java, garbage collection provides automated memory management. Its purpose is to delete objects that can't be reached.

we can make an object eligible for garbage collection ..and we can request garbage collector usaing System.gc() or Runtime.gc() methods ......... but we can never force garbage collection.

SOURCE : www.referjava.com

No comments: