title: why we override finalize() method in java?
body: <p>Where we need to override finalize() method in java when we don't have idea when finalize() method for any given object might be run?What type of resources we can close in finalize()?What is the best chances when GC will called finalize() method?</p>