What do `object` and `companion object` compile to...
# announcements
m
What do
object
and
companion object
compile to? I mean what would their equivalents look in java code? Which singleton implementation is being used in case of
object
? Is it enum? Is it thread safe?