Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardKotlininvokedynamic for lambdasSingle-choice MCQ

A Kotlin `fun interface Transform { fun apply(x: Int): Int }` is implemented with a lambda `Transform { it * 2 }`. Under the SAM-conversion-via-invokedynamic strategy, what does the bootstrap method's target functional descriptor correspond to?

fun interface Transform { fun apply(x: Int): Int } val t = Transform { it * 2 }