回答編集履歴
2
なぜか空白区切りになっていた
test
CHANGED
@@ -6,6 +6,6 @@
|
|
6
6
|
|
7
7
|
.mapToObj(Integer::toString)
|
8
8
|
|
9
|
-
.collect(Collectors.joining("
|
9
|
+
.collect(Collectors.joining(","));
|
10
10
|
|
11
11
|
```
|
1
修正
test
CHANGED
@@ -2,11 +2,9 @@
|
|
2
2
|
|
3
3
|
```java
|
4
4
|
|
5
|
-
|
5
|
+
String result = Arrays.stream(ar)
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
.mapToObj(Integer::toString)
|
7
|
+
.mapToObj(Integer::toString)
|
10
8
|
|
11
9
|
.collect(Collectors.joining(" "));
|
12
10
|
|