Computer Science, asked by punitmahli, 1 year ago

what is the need of a constructor

Answers

Answered by Nidhi864
1
Constructors are used to initialize the instances of your classes. You use a constructor to create new objects often with parameters specifying the initial state or other important information about the object

punitmahli: ThnQ....u r great
Nidhi864: wlcm but m not great
punitmahli: that's nt gd
Similar questions