for loop over array kotlin iterator 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)
}