Beginner Kotlin
Q39 / 100

What does the also scope function do?

Correct! Well done.

Incorrect.

The correct answer is B) Performs side-effect actions on an object and returns the object itself; parameter is it

B

Correct Answer

Performs side-effect actions on an object and returns the object itself; parameter is it

Explanation

also is like apply but uses it instead of this, and returns the receiver. Useful for side-effects like logging.

Progress
39/100