Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyKotlinelvis operatorSingle-choice MCQ

What is the value of result here?

val map = mapOf("a" to 1, "b" to 2) val result = map["c"] ?: -1