aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Finalizers in GC? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Finalizers in GC?" Watch "Finalizers in GC?" New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finalizers in GC?
 
Similar Threads
Finalizer chaining
runFinalization()
GC
Jdiscuss question of the day - April 3, 2005
Finalizer Method