Use Arrays.sort() method to sort an array of objects. The objects must implement the Comparable interface which will decide their sorting order.
確定! 回上一頁