?
What is the output of the following code?
What is the output of the following code?
fun main() {
val list = listOf(1, 2, 3, 4, 5)
for (num in list) {
println(num)
}
}
fun main() {
val list = listOf(1, 2, 3, 4, 5)
for (num in list) {
println(num)
}
}
Join the Discussion
Login to post a comment or share your explanation.
Login