Lesson 13 of 15 · +120 xp

Trait

Like interface.

Explained simply

Your task

Write trait Greet { def hi(): String }

trait-scala.scala
← Back