当前位置 博文首页 > wgxu123的博客:面试题:try-catch-finally中,如果在catch中ret
看到一个很有意思的面试题: 问:try-catch-finally中,如果在catch中return了,finally中的代码还会执行么? 答:当然会了,finally是一定会执行的,会在return前执行。