1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-20 22:17:09 +08:00

Update final、static、this、super.md

修正错别字
This commit is contained in:
Jiawei 2018-09-17 17:12:28 +09:00 committed by GitHub
parent 4529ad99ca
commit 2fd2106938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ public class Sub extends Super {
**使用 this 和 super 要注意的问题:**
- super 调用父类中的其他构造方法时调用时要放在构造方法的首行this 调用奔雷中的其他构造方法时,也要放在首行。
- super 调用父类中的其他构造方法时调用时要放在构造方法的首行this 调用本类中的其他构造方法时,也要放在首行。
- this、super不能用在static方法中。
**简单解释一下:**