System.out.println()换行为什么是在中间?
package com.imooc;
//Java中的二维数组
public class Demo34 {
public static void main(String[] args) {
String[][] names= {{"tom","jack","mike"},{"zhangsan","lisi","wangwu"}};
for(int i=0;i<names.length;i++) {
for(int j=0;j<names[i].length;j++) {
System.out.println(names[i][j]);
}
System.out.println();
}
}
}