what is the equivalent of java static method in kotlin code example
Example: kotlin static method
class Foo {
companion object {
fun a() : Int = 1
}
}
Foo.a()
class Foo {
companion object {
fun a() : Int = 1
}
}
Foo.a()