We must explicitly invoke the parameterized constructor of the base class inside the parameterized constructor of the sub class. The parameterized constructor of the base class cannot be called in the default constructor of the sub class; instead, it must be called in the parameterized constructor of the sub class.
Vishalini.R Answered question
