| Author |
Finalizers in GC?
|
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8795
|
|
Hi Guys, We say that our program should never rely on finalizer blocks....so why is that we override finalizer blocks?? What is the true meaning of overriding finalize?? Anyone on this?
|
SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
|
 |
Barry Gaunt
Ranch Hand
Joined: Aug 03, 2002
Posts: 7729
|
|
|
The best description of Object.finalize() I have seen is in the API for class Object. If you read it carefully, I believe it will answer your questions.
|
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
|
 |
 |
|
|
subject: Finalizers in GC?
|
|
|