Equality and Identity
Learn the difference between the concept of equality and the concept of identity.
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.
As a consequence, we ...
Ask