Loading…

What is finalize() function in Java?

This is a good question concerning core java interview questions for experienced professionals. finalize method is called by the Garbage Collector before performing the clean-up activity. Clean-up activity refers to the process of de-allocating all the resources, such as database connection and network connection, associated with an object.

Suggest An Answer

No suggestions avaliable!

Latest post from Java interview questions

Ask Question