Inheritance

Learn about the concept of inheritance in object-oriented programming.

We'll cover the following

Inheritance

As we can see, the power of object-oriented programming is that objects are self-contained entities that control their data. But object-oriented programming has another powerful feature that will let us reuse code, and that is the concept of inheritance.

Get hands-on with 1400+ tech skills courses.