摘要: /** * Created by rabbit on 2014-5-9. */ class ArrayTest2 { public static void BubbleSort(int [] arr) //创建冒泡排序方法 { for (int x=0;x<arr.length-1;x+... 阅读全文
posted @ 2014-05-09 17:55 liupengcheng 阅读(279) 评论(0) 推荐(0) 编辑
摘要: /** * Created by rabbit on 2014-5-9. */ class ArrayTest2 { public static void SelectSort(int [] arr) //定义选择排序的方法 { for (int x=0;x<arr.length;x++) ... 阅读全文
posted @ 2014-05-09 15:54 liupengcheng 阅读(198) 评论(0) 推荐(0) 编辑