Is default constructor overloaded?

That’s the default constructor. However, as you write your own constructors, the default one will not be inserted by the compiler. Remember that the no-args constructor you write is not considered the default constructor. So, technically speaking, the default constructor can never be overloaded .

Sizin İçin Seçtik  What is type of constructor in object-oriented programming?

Leave a Reply

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