Skip to content

Commit 398405c

Browse files
author
wclwen
committed
Update ArrayList-Grow.md
Modified the print method of ArraycopyTest
1 parent 5a9f2d4 commit 398405c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/collection/ArrayList-Grow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public class ArraycopyTest {
223223
System.arraycopy(a, 2, a, 3, 3);
224224
a[2]=99;
225225
for (int i = 0; i < a.length; i++) {
226-
System.out.println(a[i]);
226+
System.out.print(a[i] + " ");
227227
}
228228
}
229229

0 commit comments

Comments
 (0)