Advertisements
Advertisements
Question
What is a parameterised constructor?
One Line Answer
Solution
Parameterised constructor is a member function with the same name as the class name that is used to initialize the object variables by passing parametric values.
shaalaa.com
Is there an error in this question or solution?