Kotlin Main methods using varargs


Example

All of these main method styles can also be used with varargs:

package my.program

fun main(vararg args: String) {
    println("Hello, world!")
}