posted 21 years ago
Hi Kevin,
I understand your difficulty. The best way to answer the
questions on Garbage collection is use a paper and pen.
Assign the reference to the object created, do so meticulously
after each execution and as soon as you see that a particular
object is not reacheable by any refernce, then the JVM will
find the object that has been derefenced eligible for garbage collection.
There are many discussion happening in this forum you may search and refer to them for more insights.
Ravindra Mohan
------------------