We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4529ad9 + 2fd2106 commit ad95c39Copy full SHA for ad95c39
Java相关/final、static、this、super.md
@@ -69,7 +69,7 @@ public class Sub extends Super {
69
70
**使用 this 和 super 要注意的问题:**
71
72
-- super 调用父类中的其他构造方法时,调用时要放在构造方法的首行!this 调用奔雷中的其他构造方法时,也要放在首行。
+- super 调用父类中的其他构造方法时,调用时要放在构造方法的首行!this 调用本类中的其他构造方法时,也要放在首行。
73
- this、super不能用在static方法中。
74
75
**简单解释一下:**
0 commit comments