摘要: 阅读全文
posted @ 2016-04-27 22:25 sz_zzm 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 当finall块中包含return语句时,Eclipse会给出警告“finally block does not complete normally”,原因分析如下: 1、不管try块、catch块中是否有return语句,finally块都会执行。2、finally块中的return语句会覆盖前面 阅读全文
posted @ 2016-04-27 15:46 sz_zzm 阅读(153) 评论(0) 推荐(0) 编辑