This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If the finalize method throws an exception, the exception will be ignored. There is one unusual case in which the object will not then be destroyed, but in general the object will be destroyed, because the garbage collector called finalize before destroying the object.
The unusual case is when the finalize method stores a reference to the current object in some other container that is not eligible for garbage collection, thereby making the current object NO LONGER ELIGIBLE for garbage collection, even though it was about to be garbage collected.
SCJA 1.0 (98%), SCJP 1.4 (98%)
Joined: Mar 02, 2005
Can any one jusify Joe statement i am looking for javagurus reply