Kotlin - Collections Fundamentals
Identify the error in this Kotlin code:
val map = mutableMapOf("a" to 1, "b" to 2)
map["c"] = 3
map = mapOf("x" to 10)val map = mutableMapOf("a" to 1, "b" to 2)
map["c"] = 3
map = mapOf("x" to 10)15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions