A

Admin • 802.91K Points
Coach

Q. What does `!!` mean in Kotlin?

  • (A) Safe call
  • (B) Nullable type
  • (C) Non-null assertion
  • (D) Logical NOT
  • Correct Answer - Option(C)
  • Views: 4
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin
!! tells Kotlin to throw an exception if the value is null.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.