A class can have only one constructor True FalseSolutionThe

A class can have only one constructor

True

False

Solution

The given statement is False. Because, class can have more than one constructor. But it is recommended to have as little constructors as possible.

We can define multiple instance of constructors overloaded with parameters.

Thank you.

A class can have only one constructor True FalseSolutionThe given statement is False. Because, class can have more than one constructor. But it is recommended t

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site