摘要:
在Sun Tutorial中有这样一句话:The finally block always executes when the try block exits. This ensures that the finally block is executed even if an unexpected exception occurs. 看来finally块中的语句应该是总会执行的。 先来写一个最常见的写法:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.co 阅读全文