learn kotlin
Convert in kotlin JavaSAMT, the Java couse of the school SAMT.
Kotlin
File
hello.kt
fun main(args: Array<String>) {
println("Hello, World!")
}
Compile
On shell:
kotlinc hello.kt -include-runtime -d hello.jar
Run
On shell:
java -jar hello.jar