DEVFYI - Developer Resource - FYI

530. What is the purpose of finalization?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

530. What is the purpose of finalization?

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

(Continued on next question...)

Other Interview Questions