Qus:    What is constructor chaining?
Nov 25, 2020 14:58 2 Answers Views: 89 KRISHNA SWAROOP

Constructor Chaining is an approach where a constructor calls another constructor in the same or base class. This is very useful when we have a class that defines multiple constructors.

Prev Next
Answers (2)
TEJA Nov 26, 2020 07:58
Answer:   When a class constructor is invoking another class, constructor is called as constructor chaining. Base() can be used as constructor chaining.

PARTH Nov 26, 2020 08:27
Answer:   Constructor Chaining is an approach where a constructor calls another constructor in the same or base class. This is very useful when we have a class that defines multiple constructors.

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