Skip to content

Commit

Permalink
Update final、static、this、super.md
Browse files Browse the repository at this point in the history
修正错别字
  • Loading branch information
zeason authored Sep 17, 2018
1 parent 4529ad9 commit 2fd2106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Java相关/final、static、this、super.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class Sub extends Super {

**使用 this 和 super 要注意的问题:**

- super 调用父类中的其他构造方法时,调用时要放在构造方法的首行!this 调用奔雷中的其他构造方法时,也要放在首行。
- super 调用父类中的其他构造方法时,调用时要放在构造方法的首行!this 调用本类中的其他构造方法时,也要放在首行。
- this、super不能用在static方法中。

**简单解释一下:**
Expand Down

0 comments on commit 2fd2106

Please sign in to comment.