Interview Question
Qus: What is constructor overloading?
Constructor Overloading is a technique to create multiple constructors with a different set of parameters and the different number of parameters. It allows us to use a class in a different manner. The same class may behave different type based on constructors overloading.
Answers (2)