What is the purpose of finalization?
Ask by Sumit Kesarwani
Updated 17 Sep 2020
The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.