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  Kurumsal iletişim ve pazarlama uzmanı ne iş yapar?

Leave a Reply

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