Back
Kotlin Compiler
Reset
Clear
Run
Code
fun main(args: Array
) { println("Hello, Kotlin!") if (args.isNotEmpty()) { println("First arg: ${args[0]}") } }
STDIN (optional)
Args (space separated)
Output