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.
From what I understand Finalizer is a method category & Finalize belongs to that category. The JVM calls the Finalizers during garbage collection of an object. According to Bill Brogden's book "Java objects may use other system resources beside memory, java provides for Finalizer methods." The Object class defines a do-nothing finalize method but you can override this method to do some clean up before the JVM collects your object. Hope this helps.. Anybody correct me if I am wrong.
Originally posted by Neha Sawant: Hi What is the difference between finalize and finalizer method. Are these same. And what happens if an exception is thrown during the execution of these methods and is uncaught. -Neha