package com.day16.Exception;
public class ExceptionFinally {
public static void main(String[] args) {
try {
System.out.println(1/0);
}catch(Exception e) {
System.out.println("除数为0了");
System.exit(0);//退出jvm,finally就不执行了
}finally {
System.out.println("Kobe");
}
}
}