We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 681b401 commit c6f4661Copy full SHA for c6f4661
contents/What's_the_simplest_way_to_print_a_Java_array.md
@@ -1,7 +1,7 @@
1
# 输出 Java 数组最简单的方式
2
3
## 问题
4
-因为 Java 数组中没有 toString() 方法,所以直接输出如下数组,输出显得并人性化:
+因为 Java 数组中没有 toString() 方法,所以直接输出如下数组,输出显得并不人性化:
5
```
6
int[] intArray = new int[] {1, 2, 3, 4, 5};
7
System.out.println(intArray); // prints something like '[I@3343c8b3'
0 commit comments