what is known constructor over loading
Answers
Answered by
24
HERE IS YOUR ANSWER
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.
PLZ MARK AS BRIANLIEST
Answered by
6
Answer:
..
Overloaded constructor is called based upon the parameters specified when new is executed. Sometimes there is a need of initializing an object in different ways. This can be done using constructor overloading. ... This means that all declarations of Box objects must pass three arguments to the Box() constructor.
Similar questions