Multiple Inheritance in java
问题 Java is not allowing inheritance from multiple classes (still it allows inheritance from multiple interfaces.), I know it is very much inline with classic diamond problem. But my questions is why java is not allowing multiple inheritance like C++ when there is no ambiguity (and hence no chances of diamond problem) while inheriting from multiple base class ? 回答1: It was a design decision of Java. You'll never get it, so don't worry too much about it. Although MI might help you make Mixins,