Comments on: compareTo, Comparable, Comparator - Comparing Objects in Java https://www.happycoders.eu/java/comparator-comparable-compareto/ Fri, 03 Jan 2025 12:21:50 +0000 hourly 1 By: Sven Woltmann https://www.happycoders.eu/java/comparator-comparable-compareto/#comment-16977 Tue, 19 Oct 2021 10:14:29 +0000 https://www.happycoders.eu/?p=16505#comment-16977 In reply to Hooman.

Hello Hooman, thanks so much for noticing this and letting me know about it. I've fixed it now. Thanks again!

]]>
By: Hooman https://www.happycoders.eu/java/comparator-comparable-compareto/#comment-16976 Tue, 19 Oct 2021 05:26:07 +0000 https://www.happycoders.eu/?p=16505#comment-16976 Hallo Sven,

In the "Java Comparable Example", should the first line of code be

public class Student implements Comparator

instead of:

public class Student implements Student

]]>
By: Sven Woltmann https://www.happycoders.eu/java/comparator-comparable-compareto/#comment-16362 Tue, 16 Feb 2021 16:29:00 +0000 https://www.happycoders.eu/?p=16505#comment-16362 Hello Sanjay, thanks so much for your message. I'm happy that you liked the article.

]]>