Question: Kotlin has two equality operators, == and ===. What is the difference?

  1. `==` determines if two primitive types are identical. `===` determines if two objects are identical
  2. `==` determines if two references point to the same object. `===` determines if two objects have the same value
  3. `==` determines if two objects have the same value. `===` determines if two strings have the same value
  4. `==` determines if two objects have the same value. `===` determines if two references point to the same object

Answer: The correct answer of the above question is Option D:`==` determines if two objects have the same value. `===` determines if two references point to the same object