首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

java中finnally的迷惑(转)

2012-12-24 
java中finnally的疑惑(转)这是转自javaeye中一个作者的程序,但结果不明白,请大家讨论之。。。结果:execute fi

java中finnally的疑惑(转)
这是转自javaeye中一个作者的程序,但结果不明白,请大家讨论之。。。


结果:
execute finally...
before clean returnString's value: this string will be return.
after  clean returnString's value: null
execute finally end.
in main return: this string will be return.

2,

执行结果:
execute finally...
before clean returnString's value: message
after  clean returnString's value: null
execute finally end.
return: null

热点排行