Computer Science, asked by kalyan68, 1 year ago

what os the syntax of parameterised constructor?​


mohitann: The constructors can be called explicitly or implicitly. Uses ofParameterized 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.

Answers

Answered by Anonymous
0

<html><head><body bgcolor="Silver"><font Size="5"><marquee><b>◆IF THIS HELPS YOU THEN MARK IT AS BRAINIEST OK◆</html></marquee></></body></font>

It may be necessary to initialize the various data elements of different objects with different values when they are created. This is achieved by passing arguments to the constructor function when the objects are created. The constructors that can take arguments are called parameterized constructors.

Similar questions