I'd like to know what is the advantage of a companion object to a class over having an object define in the same file or not and being accessed from that class.
So far i don't see the real advantage of the companion object.
I understand Object very well and their versality, i don't understand the specific of companion.