JDK7中的新特性 The try-with-resources Statement
摘要:
https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html 类似于这样的代码 简而言之就是不用自己费事写finally啦, 可以避免finally里面再出exception导致try里的exce 阅读全文
posted @ 2016-03-14 12:17 Milton 阅读(454) 评论(0) 推荐(0)
浙公网安备 33010602011771号