摘要: 引用自:http://www.cnblogs.com/fery/p/4709841.html 结论:1、不管有没有出现异常,finally块中代码都会执行;2、当try和catch中有return时,finally仍然会执行;3、finally是在return后面的表达式运算后执行的(此时并没有返回 阅读全文
posted @ 2019-03-20 16:11 cjean 阅读(7074) 评论(0) 推荐(2) 编辑
摘要: 引用自:https://mp.weixin.qq.com/s?__biz=MzIxMjE5MTE1Nw==&mid=2653197478&idx=1&sn=dc0860410670aaddab5e03781ab780d4&chksm=8c99e67cbbee6f6a9ef6bb4103409989e 阅读全文
posted @ 2019-03-20 09:56 cjean 阅读(415) 评论(0) 推荐(0) 编辑