That's because objects in the real world just don't fit into a simple single inheritance hierarchy.
那是因为实际世界中的对象不会刚好适合一个简单的单继承层次结构。
As opposed to languages that only support single inheritance, Scala has a more general notion of class reuse.
与只支持单继承的语言相比,Scala具有更广泛意义上的类重用。
In Ada 2005 a new reserved word interface was introduced to resolve the limitations of single inheritance.
在Ada 2005中,引入了一个新的保留词接口来解决单次继承性的限制问题。
应用推荐