A

Admin • 828.03K Points
Coach

Q. What does `?.` represent in Kotlin?

  • (A) Non-null call
  • (B) Safe call operator
  • (C) Elvis operator
  • (D) Type cast
  • Correct Answer - Option(B)
  • Views: 5
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin
?. is the safe call operator used to avoid NullPointerExceptions.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.