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

Return Values: Negative, Zero, Positive

Return negative if this object is less than the argument, zero if equal, and positive if greater than the argument.

This lesson is for subscribers

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