Main.java:24: error: no suitable method found for abs(LinkedList<Integer>)
Collections.sort(Math.abs(list));
^
method Math.abs(int) is not applicable
(argument mismatch; LinkedList<Integer> cannot be converted to int)
method Math.abs(long) is not applicable
(argument mismatch; LinkedList<Integer> cannot be converted to long)
method Math.abs(float) is not applicable
(argument mismatch; LinkedList<Integer> cannot be converted to float)
method Math.abs(double) is not applicable
(argument mismatch; LinkedList<Integer> cannot be converted to double)
1 error