Measures Concepts
GitHub icon

Multiple Inheritance

Multiple Inheritance - language feature

< >
Example from Python, Cython:
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

Languages with Multiple Inheritance include Python, C++, Perl, Eiffel, OCaml, Common Lisp, Dylan, EuLisp, Cython, Perl 6, Curl, Pop-11, Aardvark, Logtalk, Object Rexx, Real-Time Concurrent C

Languages without Multiple Inheritance include JavaScript, C, TypeScript, Objective-C, C3, Speedie, progsbase, Tick C

This question asks: Does the language allow multiple inheritance?

Read more about Multiple Inheritance on the web: 1.

HTML of this page generated by Features.ts

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout