Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

kotlin static method

class Foo {
  companion object {
     fun a() : Int = 1
  }
}

Foo.a()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #kotlin #static #method
ADD COMMENT
Topic
Name
8+3 =