Basic and Advance Java Question:
Download Questions PDF

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.

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?