Basic and Advance Java Question:

Download Job Interview Questions and Answers PDF

What is the purpose of finalization in Java Programming?

Java Interview Question
Java Interview Question

Answer:

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

Download Java Interview Questions And Answers PDF

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?