Scala gives you just as much support for implementation inheritance as the Java™ language does — but Scala's inheritance yields a few surprises. Polymorphism done the Scala way, blends functional and object-oriented language styles while still mapping perfectly to the Java platform's inheritance model.
The busy Java developer's guide to Scala: Implementation inheritance
No comments:
Post a Comment