Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Scala supports single inheritance, not multiple inheritance. A child (or derived) class can have one and only one parent (or base) class. The sole exception is the root of the Scala class hierarchy, Any, which has no parent.
We’ve seen several examples of parent and child classes. Here are snippets of one of the first we saw, in Section 2.11: