- 博客(2)
- 收藏
- 关注
转载 try cathch finnaly return(转载)
结论: 1、不管有木有出现异常,finally块中代码都会执行; 2、当try和catch中有return时,finally仍然会执行; 3、finally是在return后面的表达式运算后执行的(此时并没有返回运算后的值,而是先把要返回的值保存起来,管finally中的代码怎么样,返回的值都不会改变,任然是之前保存的值),所以函数返回值是在finally执行前确定的; 4、finally
2015-08-05 15:54:02
516
转载 Failed to fectch URl https://dl-ssl.google.com/android/repository/addons_list.xml, reason: Connectio
Failed to fectch URl https://dl-ssl.google.com/android/repository/addons_list.xml, reason: Connection to https://dl-ssl.google.com refused的解决方法: 用notepad打开C:\WINDOWS\system32\drivers\etc中的hos
2015-05-17 19:41:01
297
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人