Can you explain what inheritance is and an example of when you might use it?

Q

Can you explain what inheritance is and an example of when you might use it?

✍: Guest

A

Inheritance is a fundamental feature of an object oriented system and it is simply the ability to inherit data and functionality from a parent object. Rather than developing new objects from scratch, new code can be based on the work of other programmers, adding only new features that are needed.

2014-01-22, 1582👍, 0💬