Intermediate Kotlin
Q64 / 100

What does the run scope function return?

Correct! Well done.

Incorrect.

The correct answer is B) The result of the lambda

B

Correct Answer

The result of the lambda

Explanation

run executes a lambda where this refers to the receiver and returns the lambda's result. It is useful for object initialization combined with computation.

Progress
64/100