Skip to content

Commit 0118be8

Browse files
author
玘珞
authored
Update java-basic-questions-01.md
增加了“@OverRide”重写注解,提高可读性
1 parent a955c64 commit 0118be8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/java/basis/java-basic-questions-01.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@ public class SuperMan extends Hero{
977977
}
978978
979979
public class SuperSuperMan extends SuperMan {
980+
@Override
980981
public String name() {
981982
return "超级超级英雄";
982983
}

0 commit comments

Comments
 (0)