hi, The garbage collector informs your obj when it is about to garbage collected the ans is true,? strang result, GC is not predectable, anybody can correct me, thx
Even i am not sure with the answer..but if you say that before garbage collection the finalize method will be invoked for that object right.. Are they meaning this?
There is no guarantee when the garbage collector is run. But before an object is garbage collected there IS A guarantee that the finalize() method of the object is invoked.
Vijay Albuquerque
SCJP 1.4, SCWCD 1.3
What I don't understand is how they changed the earth's orbit to fit the metric calendar. Tiny ad: