八种排序方法附实现源码.zip
publicstaticvoidmain(String[]args){
//TODOAuto-generatedmethodstub
Sorts=newSort();
int[]arr={3,44,38,5,47,15,36,26,27,2,46,4,19,50,48};
s.bubbleSorts(arr);//冒泡排序
//s.SelectionSort(arr);//选择排序
//s.InsertionSort(arr);//插入排序
//s.ShellSort(arr);//希尔排序
下载地址
用户评论