Using the try-with-resources construct will allow Java to close files for you automatically so you don’t have to do it explicitly.
No download links available.