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.
BY Best Interview Question ON 13 Jan 2019