We can sort ArrayList in ascending using Collections.sort() method. If we want to sort ArrayList in descending order we need to use Collections.
確定! 回上一頁