A

Admin • 802.91K Points
Coach

Q. Which Kotlin feature allows you to handle null values safely?

  • (A) if-else
  • (B) safe call operator
  • (C) try-catch
  • (D) when
  • Correct Answer - Option(B)
  • Views: 4
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin
The safe call operator (?.) allows for null-safe access to properties and methods.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.