摘要: 异常处理中,大家都知道 try、catch、finally 是按顺序执行的。即: 如果 try 中没有异常,则顺序为 try→finally 如果 try 中有异常,则顺序为 try→catch→finally 但是当 try、catch、finally 中加入 return 之后,就会有几种不同的 阅读全文
posted @ 2020-05-14 13:16 程序员曾奈斯 阅读(1020) 评论(0) 推荐(0)