Stats

205 Contributors: 7
2017-03-06
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

Traits

Download scala eBook

Syntax

  • trait ATrait { ... }
  • class AClass (...) extends ATrait { ... }
  • class AClass extends BClass with ATrait
  • class AClass extends ATrait with BTrait
  • class AClass extends ATrait with BTrait with CTrait
  • class ATrait extends BTrait

Related Examples