From f21beb51c6e7fe12f5ab9eeb2bf4742ea1896b8e Mon Sep 17 00:00:00 2001 From: lky100047 <47895484+lky100047@users.noreply.github.com> Date: Wed, 4 Oct 2023 11:41:02 +0800 Subject: [PATCH] Update 2-interfaces.md fix bug --- data/part-9/2-interfaces.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/part-9/2-interfaces.md b/data/part-9/2-interfaces.md index a2b098b84..5a8da69c6 100644 --- a/data/part-9/2-interfaces.md +++ b/data/part-9/2-interfaces.md @@ -200,7 +200,7 @@ TextMessage message = new TextMessage("ope", "It's going great!"); System.out.println(message.read()); ArrayList textMessage = new ArrayList<>(); -textMessage.add(new TextMessage("private number", "I hid the body."); +textMessage.add(new TextMessage("private number", "I hid the body.")); ``` ```java -TextMessage message = new TextMessage("ope", "Something cool's about to happen); +TextMessage message = new TextMessage("ope", "Something cool's about to happen"); Readable readable = new TextMessage("ope", "The text message is Readable!"); ```