Examveda

What does the also function do in Kotlin?

A. It's a scoping function that also executes a block of code

B. It runs a block of code and returns the object it was called on

C. It runs a block of code and returns the result

D. None of the above

Answer: Option B


This Question Belongs to Computer Science >> Kotlin Program

Join The Discussion

Related Questions on Kotlin Program

What is Kotlin?

A. A new version of Java.

B. A JavaScript framework.

C. A statically-typed programming language for the JVM, Android, and browser.

D. A database management system.