Is constructor overloading polymorphism?

Constructors get executed in run time, but constructor overloading is an example of compile time polymorphism . Why ? Because the constructor overload to be executed is chosen at compile time. No different to regular methods.17 Ara 2018

Sizin İçin Seçtik  How do constructors use this () and super () in Java?

Leave a Reply

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