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

You can also declare objects in a class. Such objects also have just a single instance; they don’t have a separate instance per instance of the containing class


Cover of Kotlin in Action


5 important fact about object classes defined within another class