import java.util.*;
public class Test9 {
public static void main(String[] args)
{
List<Integer> list=Arrays.asList(2,9,4,56,1,12);
mySort(list);
System.out.println(list);
}
public static void mySort(List<Integer> list)
{
Collections.sort(list);
}
}
|
-
2.png
(113.8 KB, 下载次数: 8)
|