Distinguish Java Reference Equality from equals
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Technical Screen
Overview: Explain Java identity comparison, logical equality, and null-safe comparisons. Connect equals to hashCode and show why mutable equality fields can make hash-map keys unreliable.