Inheritance in C++

Inheritance lets one class (the derived/child class) reuse and extend the members of another class (the base/parent class), modelling an "is-a" relationship.

Webcooks AI