O'Reilly logo
  • MICHAEL MASLENKO thinks this is interesting:

Just like a class, an object declaration can contain declarations of properties, methods, initializer blocks, and so on. The only things that aren’t allowed are constructors (either primary or secondary)

From

Cover of Kotlin in Action

Note

7 syntax for singletons with object