摘要: 假设代码顺序书写如下:try → catch → finally → 其他代码 则: 1、正常执行顺序:try → catch → finally → 其他代码 2、try,catch和finally和其他代码的执行条件: 先执行try。 只要try中有异常,catch就会执行; finally总会 阅读全文
posted @ 2019-05-15 19:03 不无聊 阅读(2252) 评论(0) 推荐(0) 编辑