Closeable

通常来说,Closeable接口的使用需要配合 try with resource,关闭时自动执行Closeable接口定义的 close 方法

如果没有实现这个接口,就无法使用 try with resource,且需要手动关闭资源