public class HelloWorld { public static void main(String[] args) { // 定义两行三列的二维数组并赋值 String[][] names={{"tom","jack","mike"},{"zhangsan","lisi","wangwu"}}; // 通过二重循环输出二维数组中元素的值 数组越界了?Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
Thinker_0004
2014-07-10
1 回答
举报
0/150
提交
取消