Qus:    What is constructor overloading?
Nov 25, 2020 14:57 2 Answers Views: 705 TEJA

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.

Prev Next
Answers (2)
DIVYA Nov 26, 2020 07:57
Answer:   Defining multiple constructors with the same name within the same class but with different arguments in different sequence can be said as constructor overloading.

PARTH Nov 26, 2020 08:26
Answer:   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.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect