Try -with-resources closes the resource whether try block completes normally or throws exception. We need not to close resources in finally block ...
確定! 回上一頁