We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Java
- Data Structures
- Java Comparator
- Discussions
Java Comparator
Java Comparator
Sort by
recency
|
255 Discussions
|
Please Login in order to post a comment
What's the point of using comparator interface? I got confused.
class Checker implements Comparator {
}
} }
class Student { String name; int age;
public Student(String name, int age) { this.name = name; this.age = age; } }