Question
Q 2. ArrayList Sort the given ArrayList in descending order Given ArrayList, sort the given ArrayList in descending order This exercise contains a class named ArrayListSort with the following method: +arrayListSortDesc(ArrayList) : ArrayList -Should accept arraylist of type BigInteger as input -Should sort the given ArrayList in descending order -Should return the sorted ArrayList in descending order as output
Example Sample Input: [24,543534,545,2342,9]
Expected Output:
[543534,2342,545,24,9]