1.java.lang.ArrayIndexOutOfBoundsException: length=10; index=10 数组越界问题一般要判断数组长度,取值不能大于数组的长度即可。 转载于:https://www.cnblogs.com/zshuai/p/3460907.html