diff --git a/src/main/java/com/github/hcsp/pet/Cat.java b/src/main/java/com/github/hcsp/pet/Cat.java index 163caaf..1aa199e 100644 --- a/src/main/java/com/github/hcsp/pet/Cat.java +++ b/src/main/java/com/github/hcsp/pet/Cat.java @@ -6,5 +6,6 @@ public class Cat { public void sayName() { // Print itself's name to standard output (System.out) here // 在这里将自己的名字打印到标准输出(System.out) + System.out.println(name); } }