Is there any default constructor?

A default constructor is a constructor that either has no parameters , or if it has parameters, all the parameters have default values. If no user-defined constructor exists for a class A and one is needed, the compiler implicitly declares a default parameterless constructor A::A() .

Sizin İçin Seçtik  How do I run a shared library in Linux?

Leave a Reply

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