📅  最后修改于: 2022-03-11 14:55:54.590000             🧑  作者: Mango
class Greeter(val name: String) {
fun greet() {
println("Hello, $name")
}
}
fun main(args: Array) {
Greeter(args[0]).greet()
}