|
|
|
|
|
by DarkNova6
796 days ago
|
|
Once you call super, you invoke the base constructor. This can cause issues beca not all fields in the sub class has been set yet. Setting the fields before calling super prevents this issue. Trivial method calls such as „toString“ can already cause issues and it’s worse once you want to guarantee certain value types properties. |
|