Constructor overloading is defining more than one constructor in a class, differing in the number, type or order of their parameters. It is useful when an object may be created with different amounts of information: a Rectangle might be created from a length and a breadth, from a single side for a square, or with no argument at all for default dimensions.
No teacher has reviewed this answer and no independent check has confirmed it, so it may contain mistakes. It is not CISCE's marking scheme.
Step-by-step solution
The step-by-step working and where each mark is earned are part of Board Pass. The question and answer stay free.
Try it
·Full solution
Only on this page: it is kept if you say you got it wrong, so you can compare later.
Board explanation
Watch a teacher solve this on the board, step by step, with voice. Then ask about any step.
AI Examiner
Not available for this question
No checked answer or marking scheme for this question yet.
Its answer has not been reviewed. The AI Examiner marks only questions that have an official marking scheme or an answer a teacher has reviewed.