Computer Science, asked by akashdeepmitra34, 8 months ago

how many constructors does a class have ??​

Answers

Answered by prernakumari6235
0

Answer:

You can define as many constructors as you need. When a Java class contains multiple constructors, we say that the constructor is overloaded (comes in multiple versions). This is what constructor overloading means, that a Java class contains multiple constructors. The Java class above contains two constructors.

Explanation:

PLEASE MARK ME AS BRAIN LIST .

Similar questions