is creating a `companion object` and `object` simi...
# announcements
s
is creating a
companion object
and
object
similar in some sense?
d
Yes, a
companion object
is a special type of object that is tied to a
class
(or
interface
, etc.) and has access to it's internals
👍 1
And there is some special syntax in regards to companion objects.