From cdb1605b03b8d0455270b312caa317d2880b13a5 Mon Sep 17 00:00:00 2001 From: Joe <736777445@qq.com> Date: Tue, 30 Jul 2019 16:11:00 +0800 Subject: [PATCH] Update 10-Interfaces.md --- docs/book/10-Interfaces.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/book/10-Interfaces.md b/docs/book/10-Interfaces.md index aff455e..754d18d 100644 --- a/docs/book/10-Interfaces.md +++ b/docs/book/10-Interfaces.md @@ -1299,7 +1299,7 @@ import java.nio.*; import java.util.*; public class RandomStrings implements Readable { - private statdic Random rand = new Random(47); + private static Random rand = new Random(47); private static final char[] CAPITALS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".toCharArray(); private static final char[] LOWERS = "abcdefghijklmnopqrstuvwxyz".toCharArray(); private static final char[] VOWELS = "aeiou".toCharArray(); @@ -1815,4 +1815,4 @@ Chess move 3 -
\ No newline at end of file +