使用Arrays.toString能实现二位数组的输出吗?如下代码为什么并不能输出?
String[][] names={{"tom","jack","mike"},{"zhangsan","lisi","wangwu"}};
System.out.println((Arrays.toString(names));
String[][] names={{"tom","jack","mike"},{"zhangsan","lisi","wangwu"}};
System.out.println((Arrays.toString(names));
2015-08-15
举报