What is constructor list the special properties of the constructor function?

Constructor functions are invoked automatically when the objects are created.No return type can be specified for a constructor. A constructor may not be static. They cannot be inherited though a derived class can call the base class constructor.It is not possible to take the address of a constructors.

Sizin İçin Seçtik  What are constructors methods?

Leave a Reply

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