一,数组常见问题。
1,索引值超过数组长度。ArrayIndexOutOfBoundsException
2,数组为null时输出数组内容。NullPointerException
3,无索引值直接输出数组名时(可以用来测试类型)。[I@15db9742 (I表示Int类型)
1,索引值超过数组长度。ArrayIndexOutOfBoundsException
2,数组为null时输出数组内容。NullPointerException
3,无索引值直接输出数组名时(可以用来测试类型)。[I@15db9742 (I表示Int类型)