Explain the following terms:
Parameterised constructor
30 Likes
A parameterised constructor is a member method with the same name as the class name which is used to initialize the instance variables with the help of parametric values, passed at the time of creating an object.
Answered By
18 Likes
Why do we need a constructor as a class member?
Constructor with default argument
Copy constructor
Constructor overloading