Kotlin - Collections Fundamentals
Which of the following is the correct syntax for destructuring a map in Kotlin?
val map = mapOf("a" to 1, "b" to 2)val map = mapOf("a" to 1, "b" to 2)for ((key, value) in map).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions