Computer Science, asked by arka32, 11 months ago

What Is Parametrized Constructer

Answers

Answered by gungun09
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 itzmisshraddha
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