I've seen a lot examples that illustrate the dangerous of multiple inheritance.
The example is usually like Class B and C extends Class A , Class D extends both B and C.
B and C both override a method from A, say for example, equals();
then when call D.equals(); it doesn't know which one from its parent should be called
provided that equals() is not overridden in D.
From what I can see, isn't Class A in this example redundant? If we remove A from this hierarchy and just look at B and C, if B and C both have method called equals(), then when D extends B and C, it will still have the same problem, so isn't it really a triangle of death?
I am not sure if what I assumed will cause compile time error in some other language.
Hope someone can clarify it for me.