In real-world applications, you may need to compare two custom objects that you have defined.
Maybe you need to compare them based on certain criteria, or their certain attributes.
Let’s say you have a class called Game and you want to be able to compare games based on their scores.
Continue reading