finalize()

Several people in recent past have asked me the functionality and need of finalize() method in Java, hence the post : BEWARE: Frankly finalize() is something that you should avoid using. The disadvantages and risk it carries are far more than the need of it….