A

Admin • 833K Points
Coach

Q. Which scope function executes a block of code and returns the object itself?

  • (A) let
  • (B) also
  • (C) apply
  • (D) run
  • Correct Answer - Option(C)
  • Views: 21
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

'apply' returns the receiver object after executing the block.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.