Qus:    What is constructor chaining?
Nov 25, 2020 20:58 DotNet 2 Answers Views: 1176 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 13: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 14: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 solution is right for you?

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


Let`s Connect