文章目录 数组脚标越界异常:ArrayIndexOutOfBoundsException 空指针异常:NullPointerException 数组脚标越界异常:ArrayIndexOutOfBoundsException 举例代码: package SZyichang; public class A { public static void main(String[] args) { //1.ArrayIndexOutOfBoundsException:角标越界