Advanced Kotlin
Q72 / 100

What does noinline do in an inline function parameter?

Correct! Well done.

Incorrect.

The correct answer is B) Marks a specific lambda parameter to not be inlined, allowing it to be stored or passed elsewhere

B

Correct Answer

Marks a specific lambda parameter to not be inlined, allowing it to be stored or passed elsewhere

Explanation

In an inline function with multiple lambda parameters, noinline marks specific lambdas that should be compiled as objects (not inlined), needed when storing the lambda.

Progress
72/100