Skip to content

Commit ff8c8ab

Browse files
authored
Merge pull request lingcoder#246 from fate-stay-night/master
Update 09-Polymorphism.md
2 parents 50526d7 + 38b3385 commit ff8c8ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/09-Polymorphism.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ public class FieldAccess {
585585
输出:
586586

587587
```
588-
sup.field = 0, super.getField() = 1
588+
sup.field = 0, sup.getField() = 1
589589
sub.field = 1, sub.getField() = 1, sub.getSuperField() = 0
590590
```
591591

0 commit comments

Comments
 (0)