Course contentsShow
Java
Lesson 1318 of 2,87030. Comparable and ComparatorPro lesson

When Not to Use Comparable

Don't implement Comparable if there's no single obvious ordering, or if you need multiple different sort orders for the same class.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.