There is no static keyword in Kotlin.
static
What is the best way to represent a static Java method in Kotlin?
In Java, we can write in below way
class MyClass { public static int myMethod() { return 1; } }
In Kotlin, we can write in below way
class MyClass { companion object { fun myMethod() : Int = 1 } }
a companion is used as static in Kotlin.