kotlin hello world with var args code example Example: how to write hello world in kotlin fun main() { println("Hello World!") }