Try-with-resources and Using Patterns - Resource Acquisition Patterns | OneNoughtOne