A default constructor is a 0 argument constructor which contains a no-argument call to the super class constructor . To assign default values to the newly created objects is the main responsibility of default constructor.
A default constructor is a 0 argument constructor which contains a no-argument call to the super class constructor . To assign default values to the newly created objects is the main responsibility of default constructor.