A

Admin • 828.03K Points
Coach

Q. What is a nullable type in Kotlin?

  • (A) A type that is a number
  • (B) A type that can hold a null value
  • (C) A type that holds boolean only
  • (D) A function type
  • Correct Answer - Option(B)
  • Views: 8
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin
In Kotlin, nullable types are declared with a '?' and can store null values.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.