Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c6f4661

Browse files
author
zhupeiquan
committed
What\'s_the_simplest_way_to_print_a_Java_array.md 修正
1 parent 681b401 commit c6f4661

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contents/What's_the_simplest_way_to_print_a_Java_array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 输出 Java 数组最简单的方式
22

33
## 问题
4-
因为 Java 数组中没有 toString() 方法,所以直接输出如下数组,输出显得并人性化:
4+
因为 Java 数组中没有 toString() 方法,所以直接输出如下数组,输出显得并不人性化:
55
```
66
int[] intArray = new int[] {1, 2, 3, 4, 5};
77
System.out.println(intArray); // prints something like '[I@3343c8b3'

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /