Only the ResultSet will be closed. If you want multiple resources to be closed, you need to declare them separately: try (Connection conn ...
確定! 回上一頁