Why do we need a constructor as a class member?
37 Likes
A constructor is used to initialize the objects of the class with a legal initial value.
Answered By
18 Likes
What is meant by a constructor?
Name the different types of constructors used while defining a class.
Explain the following terms:
Constructor with default argument
Parameterised constructor