Does default constructor initialize members?

7 Answers. Implicitly defined (by the compiler) default constructor of a class does not initialize members of built-in types . However, you have to keep in mind that in some cases the initialization of a instance of the class can be performed by other means.

Sizin İçin Seçtik  What is constructor overloading with example?

Leave a Reply

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