A

Admin • 828.03K Points
Coach

Q. Which class in Kotlin represents no value?

  • (A) Null
  • (B) Nothing
  • (C) Unit
  • (D) None
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin
'Unit' is the return type for functions that return no value in Kotlin.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.