O'Reilly logo
  • Tansu Dasli thinks this is interesting:

You should never use method finalize, because it can cause many problems and there’s uncertainty as to whether it will ever get called before a program terminates.


Cover of Java® 9 for Programmers, Fourth Edition


finalize is deprecated in Java 9.