diff --git a/tutorials/tour/traits.md b/tutorials/tour/traits.md index a15322db57..250a33c9e8 100644 --- a/tutorials/tour/traits.md +++ b/tutorials/tour/traits.md @@ -10,7 +10,7 @@ tutorial-next: mixin-class-composition tutorial-previous: classes --- -Similar to interfaces in Java, traits are used to define object types by specifying the signature of the supported methods. Unlike Java, Scala allows traits to be partially implemented; i.e. it is possible to define default implementations for some methods. In contrast to classes, traits may not have constructor parameters. +Similar to interfaces in Java, traits are used to define object types by specifying the signature of the supported methods. Like in Java 8, Scala allows traits to be partially implemented; i.e. it is possible to define default implementations for some methods. In contrast to classes, traits may not have constructor parameters. Here is an example: trait Similarity {