黑马程序员技术交流社区

标题: 一道异常的基础测试题 [打印本页]

作者: 不想飞不到    时间: 2014-8-9 12:31
标题: 一道异常的基础测试题
[size=13.913043975830078px]写出结果:




你的答案是下面这样么?


i=2
i=1
testEx2, catch exception
testEx2, finally; return value=false
testEx1, catch exception
testEx1, finally; return value=false
testEx, catch exception
testEx, finally; return value=false








欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) 黑马程序员IT技术论坛 X3.2