What Is Parametrized Constructer
Answers
Answered by
1
Parameterized Constructor: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.
Answered by
1
Answer:
Parameterized Constructor - A constructure is called Parameterized Constructer when it accepts a specific number of parameters. To initialize data members of a class with distinct values.
hope it's help you
Similar questions
Computer Science,
7 months ago
Science,
7 months ago
English,
7 months ago
Math,
1 year ago
Social Sciences,
1 year ago