Introduction to OOP
Chapter 13: Multiple Inheritance:
Other Approaches to Name Ambiguity
Other languages use different approaches to solving the problem of ambiguous names
Eiffel uses the ability to rename features from the parent class. A polymorphic variable accessing through the parents name will access the renamed feature in the child.
CLOS and Python resolve ambiguous names by the order in which the parent classes are listed. The first occurrence of the name found in a systematic search is the one selected.
, Slide 11