Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyKotlinextension functionsSingle-choice MCQ

What does this print, given two extensions with different receiver types?

fun Any?.describe() = "any: $this" fun String.describe() = "string: $this" val x: Any? = "hi" println(x.describe())