会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
不无聊
每一个认真分享的灵魂都值得被赞美
博客园
首页
新随笔
联系
订阅
管理
2019年5月15日
Java 中 try、catch、finally 语句块的执行顺序
摘要: 假设代码顺序书写如下:try → catch → finally → 其他代码 则: 1、正常执行顺序:try → catch → finally → 其他代码 2、try,catch和finally和其他代码的执行条件: 先执行try。 只要try中有异常,catch就会执行; finally总会
阅读全文
posted @ 2019-05-15 19:03 不无聊
阅读(2252)
评论(0)
推荐(0)
编辑
公告