views:

302

answers:

2

What languages support multiple inheritance and what techniques do they use to mitigate the problems that arise from using multiple inheritance?

+2  A: 

From Wikpedia at time of posting (language, followed by mitigation type):

  • Eiffel, allows the programmer to explicitly join or separate features
  • C++, requires that the programmer state which parent class the feature to use should come from
  • Perl, various - also, order of inheritance affects outcome
  • Python, similar to Perl, but encoded in the language
  • CLOS, allows full programmer control of method combination and more

Also, LogTalk, Curl and Tcl use multiple inheritance. See the reference for more information.