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

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
ETS User

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

Post by ETS User »

If an object is being destroyed by the GC then its finalize() method is guaranteed to be called.
No. It is only guaranteed to be called the first time the object is being destroyed, it can happen many times since the finalize() method can bring the object back to life.

admin
Site Admin
Posts: 10046
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

You are right. The option has now been tweaked to say, "If an object is being destroyed by the GC then its finalize() method is guaranteed to have been called."

thank you for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 49 guests