Differentiate between compareTo() and equals(). | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Differentiate between compareTo() and equals().

this question cost me class highest in preboards.... 😭😭😭😭

29th Nov 2017, 3:01 PM
Divyansh Saxena
Divyansh Saxena - avatar
2 Answers