How can I create a static class in Kotlin? (static CLASS not method or variable)

You could use a companion object. If you want a singleton you could also use an object class.

1 Like