India Languages, asked by sivakotinaru1999, 7 months ago

import java.util.*;
public class Main
{
public static void main(String[] args)
1162
{
2724636162 12
ArrayList<Integer>TempArrayList = new ArrayList<Integer>();
TempArrayList.add(30);
TempArrayList.add(20);
TempArrayList.add(10);
TempArrayList.add(40);
TempArrayList.add(50);
Collections.sort(TempArrayList, Collections.reverse Order());
Collections.sort(TempArrayList, Collections.reverse Order();
System.out.println(TempArrayList);
}​

Answers

Answered by aravindsingh93
0

Answer:

what you write I can't understand

Answered by sourav544raj
0

Answer:

[50,40,30,20,10] must be the output

Similar questions