Multiple Inheritance is an actively used design pattern. Multiple inheritance is a feature of some object-oriented computer programming languages in which an object or class can inherit characteristics and features from more than one parent object or parent class. It is distinct from single inheritance, where an object or class may only inherit from one particular object or class.
- the Multiple Inheritance wikipedia page
- Have a question about Multiple Inheritance not answered here? Email me and let me know how I can help.
Example from python:
class Base1: pass class Base2: pass class MultiDerived(Base1, Base2): pass # Or multilevel inheritance: class Base: pass class Derived1(Base): pass class Derived2(Derived1): pass
Last updated June 22nd, 2020