Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/main/java/com/github/hcsp/pet/Cat.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ public class Cat {
public void sayName() {
// Print itself's name to standard output (System.out) here
// 在这里将自己的名字打印到标准输出(System.out)
name = "左佳宾";
System.out.println(name);
Comment on lines +9 to +10
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name = "左佳宾";
System.out.println(name);
System.out.println(name);

}
}