Update article.md
This commit is contained in:
parent
15f7acfc2a
commit
f8782ac0a7
1 changed files with 1 additions and 1 deletions
|
@ -317,7 +317,7 @@ new Rabbit(); // animal
|
||||||
*/!*
|
*/!*
|
||||||
```
|
```
|
||||||
|
|
||||||
Here, class `Rabbit` extends `Animal` and overrides `name` field with its own value.
|
Here, class `Rabbit` extends `Animal` and overrides the `name` field with its own value.
|
||||||
|
|
||||||
There's no own constructor in `Rabbit`, so `Animal` constructor is called.
|
There's no own constructor in `Rabbit`, so `Animal` constructor is called.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue