We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01ad436 + bcb69e5 commit 4aca12bCopy full SHA for 4aca12b
docs/book/10-Interfaces.md
@@ -1100,7 +1100,7 @@ class ActionCharacter {
1100
class Hero extends ActionCharacter implements CanFight, CanSwim, CanFly {
1101
public void swim() {}
1102
1103
- pubilc void fly() {}
+ public void fly() {}
1104
}
1105
1106
public class Adventure {
@@ -1211,7 +1211,7 @@ public class HorrorShow {
1211
1212
```
1213
1214
-接口 **DangerousMonster** 是 **Monster** 简单扩展的一个新接口,类 **DragonZilla** 实现了这个接口。
+接口 **DangerousMonster** 是 **Monster** 简单扩展的一个新接口,类 **DragonZilla** 实现了这个接口。
1215
1216
**Vampire** 中使用的语法仅适用于接口继承。通常来说,**extends** 只能用于单一类,但是在构建接口时可以引用多个基类接口。注意到,接口名之间用逗号分隔。
1217
0 commit comments