public static int testt() { int x = 99; try { return x; // 返回99,也就是说finally是在return后再执行的,别搞混了 }finally { x = 8; } }