0
compare vs equals
When do i use comparator/Comparable and when do i use equals to compare classes?
1 Respuesta
+ 1
Sanoj
Why do you want to compare class?
You can see here to use different methods for comparison.
https://code.sololearn.com/cZms6c3vg2w3/?ref=app