posted 18 years ago
answer is D. it is called when an object is about to be collected for garbage collection. it ressurects the object from being garbage collected and the finalize method runs once. but after that if it becomes eligable for garabage collection again then it will check if the finalize method of that object has been run and if it has been run then it will not be run again and hence will be eligible for GC in the second time.
if who i am is what i have, and what i have is lost, then who am i?<br /> <br />SCJP 5.0<br />SCWCD 1.4<br />SCBCD preparing