Basic and Advance Java Question:

What is the purpose of finalization in Java Programming?

Answer:

The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.

Read All 81 Java Questions
Previous QuestionNext Question
Can an anonymous class be declared as implementing an interface and extending a class in Java Programming? Which class is the superclass for every class in Java Programming?