一、异常 常见的运行时异常: NullPointerException 空指针异常ArithmeticException 数学运算异常ArrayIndexOutOfBoundsException 数组下标越界异常ClassCastException 类型转换异常NumberFormatException 数字格式不正确异常 常见的编译异常: try-cath 与 final