Skip to content

Commit

Permalink
Merge pull request lingcoder#461 from PianoCello/master
Browse files Browse the repository at this point in the history
第六章 初始化和清理 -- 修正描述错误
  • Loading branch information
lingcoder authored May 24, 2020
2 parents a6adc54 + 99efb34 commit f1d3c20
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit f1d3c20

Please sign in to comment.