Page 1 of 1

About Question com.enthuware.ets.scjp.v6.2.186 :

Posted: Tue Mar 13, 2012 6:43 am
by Pablo Reyes
I think this answer is incorrect.
The finalize method will never be called more than once on an object.
That's not true, since we can manually call finalize() as many times we want, and the GC will call it again when it thinks it's appropiate (just once).

Re: About Question com.enthuware.ets.scjp.v6.2.186 :

Posted: Tue Mar 13, 2012 3:02 pm
by admin
In the context of the question, it is implied that it is talking about automatic calls from the JVM and not manual programmer made calls.
But you are right, it may cause confusion and so this will be made more clear asap.

thank you for your feedback!