Using Inheritance in Scala

Purchase a Subscription!

Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.


Instructor

Julian Templeman

Description

Scala follows Java's single-base-class model of inheritance. Whereas Java has interfaces to allow inheritance of more than one set of methods, Scala has traits. These do the same job but are much more powerful. Learn about traits and inheritance in Scala and you are well on your way to becoming a master of the language.

Table of Contents

{{toc.Position}} {{toc.Text}}

Related Links

  • {{link.LinkText}} (requires a paid subscription)

Series

This course is part of the following series: