overloarding constructor code example
Example: Can we overload the constructors
Yes, the constructors can be overloaded by changing the number of
arguments accepted by the constructor or by changing the data type of
the parameters
Yes, the constructors can be overloaded by changing the number of
arguments accepted by the constructor or by changing the data type of
the parameters