public class T2Exception {
public void b(){
int i=0;
try {
int a=4/i;
System.exit(0);
}catch (Exception e){
e.printStackTrace();
}finally {
System.out.println("1");
}
}
public static void main(String[] args) {
T2Exception t=new T2Exception();
t.b();
}
}
结果:
求大佬解释一下