java == vs equals() confusion
<p>I wanted to clarify if I understand this correctly:</p>

<ul>
<li><code>==</code> -> is a reference comparison ie both objects point to the same memory location</li>
<li><code>.equals()</code> -> evaluates to the comparison of values in the objects</li>
</ul>

<p>Am I correct in my understanding ?</p>
