×
×
Correct!
Use the correct keyword to output all elements in the cars array.
val cars = arrayOf("Volvo", "BMW", "Ford", "Mazda")
@(3) (x @(2) @(4)) {
println(x)
}
val cars = arrayOf("Volvo", "BMW", "Ford", "Mazda")
for (x in cars) {
println(x)
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 39 exercises.
Are you sure you want to continue?