在j的循环中,当输入为j<names.length时,输出结果丢失mike和wangwu?
String[][] names={{"tom","jack","mike"},{"zhangsan","lisi","wangwu"}};
for (int i = 0; i < names.length; i++) {
for (int j = 0; j <= names.length; j++) {
System.out.println(names[i][j]);
}
System.out.println("\n");
}