I want a brief definition about the equals() , \"==\" and hashCode(). If i run following code means the output will be \"true false 2420395 2420395\". But i had understand that
equals() is used while you try find an object in a list and .hashCode() is used in some hashtable classes provided by JAVA class library.