try{ return }finally{}中的return? 详解

谁能给我我解释一下这段程序的结果为什么是:2.而不是:3 class Test { public int aaa() { int x = 1; try { return ++x; } catch (Exception e) { } finally { ++x;
相关文章
相关标签/搜索