Scala – Traits

Traits are similar to Java 8’s interfaces. Classes and objects can extend traits, but traits cannot be instantiated and therefore have no parameters. Traits become especially useful as generic types and with abstract methods.