Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. int one = firstScore;
  2. int two = secondScore;
  3. int three = thirdScore;
  4. ArrayList<Integer> list1 = new ArrayList<Integer>();
  5. list1.add(one);
  6. list1.add(two);
  7. list1.add(three);
  8.  
  9. Collections.sort(list1, Collections.reverseOrder());
  10.  
  11. String test2 = list1.toString();
  12.  
  13.  
  14. return test2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement