From 398405c2d7ed8783f6829c9297edf6603d99bb91 Mon Sep 17 00:00:00 2001 From: wclwen Date: Mon, 29 Jun 2020 16:06:54 +0800 Subject: [PATCH] Update ArrayList-Grow.md Modified the print method of ArraycopyTest --- docs/java/collection/ArrayList-Grow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/java/collection/ArrayList-Grow.md b/docs/java/collection/ArrayList-Grow.md index 0a758cca..bee83703 100644 --- a/docs/java/collection/ArrayList-Grow.md +++ b/docs/java/collection/ArrayList-Grow.md @@ -223,7 +223,7 @@ public class ArraycopyTest { System.arraycopy(a, 2, a, 3, 3); a[2]=99; for (int i = 0; i < a.length; i++) { - System.out.println(a[i]); + System.out.print(a[i] + " "); } }