Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyKotlinscope functions let apply runSingle-choice MCQ

What gets printed here?

val name: String? = null val len = name?.let { it.length } ?: -1 println(len)