`object { ... }` creates a subclass of `Any`, so y...
# announcements
k
object { ... }
creates a subclass of
Any
, so you have access to any of the methods defined on
Any
. You could call
foo.equals(bar)
,
foo.hashCode()
, and
foo.toString()