mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-19 03:25:44 +00:00
11 lines
251 B
Plaintext
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")
|
|
}
|