Is it possible to extend multiple classes in Scala.
For example if I have ClassA and ClassB then can ClassC extend ClassA and ClassB (like in C++).
No, ClassC just can extend one of those, but you can mixin multiple traits.
ClassC
2.1m questions
2.1m answers
60 comments
57.0k users