Need Assistance?

support@tutorialshub.in

Variables, Data Types & Operators

Equality (== vs ===) & Ranges (..)

ADVERTISEMENT
Kotlin Free Lesson
5 min read
ADVERTISEMENT

Unlike Java where == checks memory address on Strings, in Kotlin == checks structural equality (automatically calling .equals() safely even on null!), while === checks referential equality (same object in memory).

ADVERTISEMENT
Hi, I'm Tuby! Here to help you