2
Reply

What is Constructor Chaining

Pradeep Yadav

Pradeep Yadav

7y
421
0
Reply

    Constructor Chaining is a way to connect two or more classes in a relationship as Inheritance, in Constructor Chaining every child class constructor is mapped to parent class Constructor implicitly by base keyword so when you create an instance of child class to it’ll call parent’s class Constructor without it inheritance is not possible.

    Contstructor chaining is an approach where one constructor can call another constructor in the same class or base class.