Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int one = firstScore;
- int two = secondScore;
- int three = thirdScore;
- ArrayList<Integer> list1 = new ArrayList<Integer>();
- list1.add(one);
- list1.add(two);
- list1.add(three);
- Collections.sort(list1, Collections.reverseOrder());
- String test2 = list1.toString();
- return test2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement