The essence of
Object-Oriented Programming is inheritance, overriding, and dynamic dispatch. Because the inheritance is so powerful in programming, what about using it to do some more powerful thinds.
- Multiple inheritance
- Languages with
multiple inheritancelet one class extend multiple other classes. It is the most powerful idea among those three.
Let us give you one example to show why
mutiple inheritance is very powerful.