for loop in kotlin arraylist code example
Example: kotlin iterate array
val names = listOf("Anne", "Peter", "Jeff")
for (name in names) {
println(name)
}
val names = listOf("Anne", "Peter", "Jeff")
for (name in names) {
println(name)
}