1.

Discuss the benefit of constructor overloading?

Answer»

Function overloading can be applied for constructors, as constructors are special functions of classes. A class can have more than one constructor with different signature. Constructor overloading provides flexibility of creating multiple type of objects for a class.

1. Memory is allocated for the objects.

2. Initialisation for the objects.



Discussion

No Comment Found

Related InterviewSolutions