Skip to content

Commit ad95c39

Browse files
authored
Merge pull request Snailclimb#23 from zeason/patch-1
Update final、static、this、super.md
2 parents 4529ad9 + 2fd2106 commit ad95c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Java相关/final、static、this、super.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class Sub extends Super {
6969

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

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

7575
**简单解释一下:**

0 commit comments

Comments
 (0)