×
×
Correct!
Look at the following code. Insert the missing part to output "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)
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 39 exercises.
Are you sure you want to continue?