what is the used of constructors
Answers
Answered by
1
The constructors can be called explicitly or implicitly. Uses of Parameterized constructor: It is used to initialize the various data elements of different objects with different values when they are created. It is used to overload constructors.
rohitkumar9228:
wait man
Answered by
1
The constructors used to intalize various data elements of different object with different values when they are created
Similar questions