A

Admin • 833.24K Points
Coach

Q. How do you compare references (memory address) in Kotlin?

  • (A) ===
  • (B) ==
  • (C) is
  • (D) !=
  • Correct Answer - Option(A)
  • Views: 18
  • Filed under category Kotlin
  • Hashtags:

Explanation by: Admin

Kotlin uses '===' for referential equality (i.e., same object reference).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.