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

package my.program

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