2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-19 03:25:44 +00:00
cheat.sheets/sheets/_kotlin/hello
2017-06-11 17:03:34 +00:00

11 lines
251 B
Plaintext

// to install kotlin:
// curl -s https://get.sdkman.io | bash
// sdk install kotlin
// to compile:
// kotlinc hello.kt -include-runtime -d hello.jar
// to run:
// java -jar hello.jar
fun main(args: Array<String>){
println("Hello World")
}