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  Is constructor overloading possible if yes then explain and if no then why?

Leave a Reply

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