A

Admin • 833K Points
Coach

Q. What is the type of 'null' in Kotlin?

  • (A) Any
  • (B) Nothing?
  • (C) Unit
  • (D) NullType
  • Correct Answer - Option(B)
  • Views: 15
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

The type of null is 'Nothing?', which is a nullable type in Kotlin.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.