Skip to content

第六章 初始化和清理 -- 修正描述错误 #461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2020
Merged
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: 1 addition & 1 deletion docs/book/06-Housekeeping.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ double: f1(double)f2(double)f3(double)f4(double)f5(double)f6(double)f7(double)

### 返回值的重载

经常会有人困惑,"为什么只能通过类名和参数列表,不能通过方法的返回值区分方法呢?"。例如以下两个方法,它们有相同的命名和参数,但是很容易区分:
经常会有人困惑,"为什么只能通过方法名和参数列表,不能通过方法名和返回值区分方法呢?"。例如以下两个方法,它们有相同的命名和参数,但是很容易区分:

```java
void f(){}
Expand Down