Skip to content

Instantly share code, notes, and snippets.

@arsalankhan994
Created February 12, 2022 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arsalankhan994/4f227eb9440e43cc7e0955c09405d225 to your computer and use it in GitHub Desktop.
Save arsalankhan994/4f227eb9440e43cc7e0955c09405d225 to your computer and use it in GitHub Desktop.
main() {
/*
Class bound methods and variable
*/
val someVariable = ClassBoundMethod
someVariable.classBoundMethod()
someVariable.name
}
class ClassBoundMethod {
companion object {
val name: String = "Erselan Khan"
fun classBoundMethod() {
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment