Autocloseable interface. AutoCloseable interface was introduced in Java 7 as part of the try-with-re...