Explain the concept of constructor overloading with an example?
Answers
Answered by
4
Explanation:
Constructor overloading is a concept of having more than one constructor with different parameters list, in such a way so that each constructor performs a different task. For e.g. Vector class has 4 types of constructors.
Similar questions