title: why equals() method when we have == operator?
body: <p>When i see the implementation of <code>equals()</code> method it does nothing but same as what <code>==</code> does. So my question is what was the need to have this as separate method when we have <code>==</code> operator which does the same work? </p>