The error message is very clear actually:
i) We can call super in the constructor of a subclass
ii) If we call super in the constructor of a subclass, it must be the first statement in that constructor; i.e, before writing any other statement we call to super must be made.
It is mentionable that, super(parameters) calls the constructor of the super class.
See the code below:
The super class...
public...
Read More