Equality
Kotlin internally converts ==
to the call of equals
.
This means, that in Kotlin, we check instances with ==
for structural equality instead of identity, like in Java.
Get hands-on with 1400+ tech skills courses.
Kotlin internally converts ==
to the call of equals
.
This means, that in Kotlin, we check instances with ==
for structural equality instead of identity, like in Java.
Get hands-on with 1400+ tech skills courses.