Can I have 2 constructor?

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  What is 3G and 4G and how does it work?

Leave a Reply

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