Skip to content

Instantly share code, notes, and snippets.

@magdamiu
Created Feb 2, 2020
Embed
What would you like to do?
Companion object in Kotlin
class Person {
companion object {
fun callMe() = "Call"
}
}
// Person.callMe()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment