ミックスイン
クラス
が
トレイト
を
継承
すること
その際には
extends
、複数の場合は
with
を使う。
code:scala
class Employee(val name: String) extends AnyRef with Namable