Can a class have no default constructor?

Not having a default constructor is no problem, as long as you don’t use one . Always specifying an argument at construction is ok, when there is no obvious default argument.11 Kas 2011

Sizin İçin Seçtik  How do you call a default constructor in C++?

Leave a Reply

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