public static void main(String[] args) {
System.out.print(test1());
}
public static int test1() {
int a = 20;
try {
return a + 25;
} catch (Exception e) {
System.out.println("test catch exception");
} finally {
System.out.print(a + " ");
a = a + 10;
}
return a;
}
20 55
45 45
55 55
20 45