Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumKotlincrossinline noinlineSingle-choice MCQ

What is the result of compiling and running this code?

inline fun process(crossinline block: () -> Unit) { val r = Runnable { block() } r.run() } fun caller() { process { println("before") return println("after") } }