Menu
×
×
Correct!
Exercise:Use the correct keyword to output all elements in the cars array.
val cars = arrayOf("Volvo", "BMW", "Ford", "Mazda")
for (x in cars) {
println(x)
}
Not CorrectClick here to try again. Correct!Next ❯val cars = arrayOf("Volvo", "BMW", "Ford", "Mazda")(x ) { println(x) } |