Update article.md

This commit is contained in:
Itai Leshem 2021-11-02 19:57:23 +02:00 committed by GitHub
parent d4ee188eff
commit e4c57071d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -362,7 +362,7 @@ And that's what we naturally expect. When the parent constructor is called in th
Why is there a difference?
Well, the reason is in the field initialization order. The class field is initialized:
Well, the reason is the field initialization order. The class field is initialized:
- Before constructor for the base class (that doesn't extend anything),
- Immediately after `super()` for the derived class.