Computer Science, asked by akashdeepmitra34, 7 months ago

why do constructors need to be overloaded??​

Answers

Answered by prernakumari6235
0

Answer:

Constructors overloading vs Method overloading

If we want to have different ways of initializing an object using different number of parameters, then we must do constructor overloading as we do method overloading when we want different definitions of a method based on different parameters.

Explanation:

mark me as brainlist.

Answered by rohitpatel544709
0

Answer:

hjsjshsbbsnsjsbjshzhsbsb

Similar questions