Is constructor overloading static polymorphism?

That constructor will be called as an overloaded constructor. Overloading is also another form of polymorphism in Java which allows having multiple constructors with a different name in one Class in java.

Sizin İçin Seçtik  Can a constructor be overloaded in Java?

Leave a Reply

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