Can there be multiple constructors?

There can be multiple constructors in a class . However, the parameter list of the constructors should not be same. This is known as constructor overloading.

Sizin İçin Seçtik  Ema nedir Binance?

Leave a Reply

Your email address will not be published. Required fields are marked *