In the example, we can't implement the sort method unless the class has the compareTo method from Comparable and also is iterable.
確定! 回上一頁