Beginner
Kotlin
Q13 / 100
What is the difference between == and === in Kotlin?
Correct! Well done.
Incorrect.
The correct answer is B) == checks structural equality (calls equals()); === checks referential equality
B
Correct Answer
== checks structural equality (calls equals()); === checks referential equality
Explanation
In Kotlin, == is the safe structural equality (null-safe equals()), while === checks if two references point to the same object.
Progress
13/100