From b2b1168af21d3430fe9ef842f06cf66852f32d37 Mon Sep 17 00:00:00 2001 From: chenxi <583643011@qq.com> Date: Sun, 15 Jan 2023 12:14:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B9=E6=B3=95=E7=9A=84=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/github/hcsp/pet/Cat.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/github/hcsp/pet/Cat.java b/src/main/java/com/github/hcsp/pet/Cat.java index 163caaf..9f78119 100644 --- a/src/main/java/com/github/hcsp/pet/Cat.java +++ b/src/main/java/com/github/hcsp/pet/Cat.java @@ -4,6 +4,7 @@ public class Cat { public String name; public void sayName() { + System.out.println(name); // Print itself's name to standard output (System.out) here // 在这里将自己的名字打印到标准输出(System.out) }