What is the working logic of '==' while comparing two objects? : <p>What logic works when we compare two objects using '==' ? This logic is written in which file ? FYI I am aware that JVM checks if both reference variable point to the same object; I want to know what code must be there to determine if both reference point to same object ?</p>
