Theory: Goal of Inheritance
Understand why we use inheritance in programming.
We'll cover the following...
Purpose of inheritance
1.
What purpose does inheritance serve?
Show Answer
Q1 / Q1
Did you find this helpful?
Example
In this example, let’s consider a base class Person
with name
...