摘要: 在 JDK 7 之前,各种资源操作需要在finally里面手动关闭 1 static String readFirstLineFromFileWithFinallyBlock(String path) throws IOException { 3 BufferedReader br = new Bu 阅读全文
posted @ 2020-04-16 14:27 KeSuns 阅读(263) 评论(0) 推荐(0) 编辑