object Pos
This companion object of class Pos
provides alternative methods for creating new Pos
objects.
It has an alias in the top-level package o1, so it’s accessible to students simply via import o1._
.
- Companion:
- class
This companion object of class Pos
provides alternative methods for creating new Pos
objects.
It has an alias in the top-level package o1, so it’s accessible to students simply via import o1._
.