posted 16 years ago
Hi All,
I have one query in garbage collection concept, in K&B book below statement is given.
"If first time an object�s finalize() method runs and the object is saved from the Garbage Collection, then the second time that object is about to be Garbage Collected, finalize() will not run".
My query is, if we call finalize method in our code, and assume that same object is about to be garbage collected, finalize() will be called again by garbage collector?.
[ October 02, 2008: Message edited by: ramesh maredu ]
SCJP 1.5 94%.
The greatest glory in living lies not in never falling, but in rising every time we fall.