Computer Science, asked by rohitkumar9228, 1 year ago

what is the used of constructors​

Answers

Answered by ApexPredator619
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
rohitkumar9228: i have marked
Answered by jasmine9527
1
The constructors used to intalize various data elements of different object with different values when they are created

rohitkumar9228: i don't understand
rohitkumar9228: can you so some examples
jasmine9527: ya
rohitkumar9228: ok
rohitkumar9228: ??
Similar questions