Java Comparable interface is used to compare objects and sort them according to the natural order. Natural ordering is referred to as its compareTo() function.
確定! 回上一頁