0
Why are constructors not inherited?
I saw this question in a challenge, and I’m having trouble understanding this.
1 Réponse
+ 1
Constructors are special methods, they are not inherited but can be called using the super keyword.
I saw this question in a challenge, and I’m having trouble understanding this.