package com.heima.IO;
public class Day1_ClassTest2 {
public static void main(String[] args) {
System.out.println(test());
}
public static int test() {
try {
System.out.println(10 / 0);
return 10;
} catch (Exception e) {
int i = 20;
return i;
} finally {
int i = 30;
}
}
}
|
|