We can use Collections.sort() method to sort arraylist using comparator in java. We have to pass Comparator object in it.
確定! 回上一頁