A

Admin • 833K Points
Coach

Q. Which type in Kotlin can represent both a value and absence of value?

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

Explanation by: Admin

Nullable types like String? can hold either a value or null.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.