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 static classes have constructors?

Leave a Reply

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