Kotlin - Collections Fundamentals
What is the output of this Kotlin code?
val map = mapOf("x" to 10, "y" to 20)
println(map["x"])
println(map["z"])val map = mapOf("x" to 10, "y" to 20)
println(map["x"])
println(map["z"])15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions