看下面的代码。 插入缺失的部分以输出“Ford”:
class Car(var brand: String, var model: String, var year: Int)
fun main() {
val c1 = Car("Ford", "Mustang", 1969)
println(@(2).@(5))
}
class Car(var brand: String, var model: String, var year: Int)
fun main() {
val c1 = Car("Ford", "Mustang", 1969)
println(c1.brand)
}