Why super() must be the first statement in a constructor?
Why do we need super()?
When we create a sub-class from a super-class, the subclass inherits all the properties of the super-class.
Subclass and superclass share an "IS-A" relationship.
For example, we have a superclass Animal and a subclass Dog. So,...
riteshpanigrahi.hashnode.dev2 min read