Rob Spoor wrote:And now use your objects in a HashMap. Whoops, that won't work - HashMap uses a combination of hashCode and equals to find keys.
thanks for the reply
i ddnt get you please use simple terms with there meaning i m not a oop champion , i m just a student