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

Classes in Kotlin can’t have static members; Java’s static keyword isn’t part of the Kotlin language. As a replacement, Kotlin relies on package-level functions (which can replace Java’s static methods in many situations) and object declarations (which replace Java static methods in other cases, as well as static fields)


Cover of Kotlin in Action


5 replacement for J static in K