Computer Science, asked by ashokasa0425, 1 month ago

what is a parameterized constructor..?​

Answers

Answered by avabooleav
1

Answer:

Explanation:

Parameterized Constructor – A constructor is called Parameterized Constructor when it accepts a specific number of parameters. To initialize data members of a class with distinct values. In the above example, we are passing a string and an integer to the object.

Answered by hariprasadsahu1979
1

Explanation:

see the attachment I hope it is helpful for you

Attachments:
Similar questions