1.

List some of the special properties of the constructor functions.

Answer»

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.



Discussion

No Comment Found

Related InterviewSolutions