+ 6

what is the purpose of using equals() or hashcode() method in java?

i really find it difficult to understand equals() and hashcode()

10th Apr 2017, 8:52 AM
maruf sikder
maruf sikder - avatar
1 Réponse
+ 1
You can use it to compare complex objects https://code.sololearn.com/cr67aAl7iwf7/#java
10th Apr 2017, 11:08 AM
T0nd3