1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-25 02:27:10 +08:00

Update ArrayList-Grow.md

Modified the print method of ArraycopyTest
This commit is contained in:
wclwen 2020-06-29 16:06:54 +08:00
parent 5a9f2d451c
commit 398405c2d7

View File

@ -223,7 +223,7 @@ public class ArraycopyTest {
System.arraycopy(a, 2, a, 3, 3); System.arraycopy(a, 2, a, 3, 3);
a[2]=99; a[2]=99;
for (int i = 0; i < a.length; i++) { for (int i = 0; i < a.length; i++) {
System.out.println(a[i]); System.out.print(a[i] + " ");
} }
} }