From ebcaf9cade5309b17e586ea79c34a4dc4a029aff Mon Sep 17 00:00:00 2001 From: LIU Date: Mon, 12 Oct 2020 23:27:22 +0800 Subject: [PATCH] s1 change to s2 --- notes/Java 基础.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/Java 基础.md b/notes/Java 基础.md index aebd8eea..05f65c0c 100644 --- a/notes/Java 基础.md +++ b/notes/Java 基础.md @@ -233,7 +233,7 @@ String s1 = new String("aaa"); String s2 = new String("aaa"); System.out.println(s1 == s2); // false String s3 = s1.intern(); -String s4 = s1.intern(); +String s4 = s2.intern(); System.out.println(s3 == s4); // true ```