Skip to content
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions src/main/java/com/github/hcsp/Home.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ public static void main(String[] args) {
Cat white = new Cat();
white.name = "White";
white.sayName();

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

Copy link
Contributor

Choose a reason for hiding this comment

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

把这个空行去掉吧。

}
}
1 change: 1 addition & 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,6 @@ public class Cat {
public void sayName() {
// Print itself's name to standard output (System.out) here
// 在这里将自己的名字打印到标准输出(System.out)
System.out.println(this.name);
}
}