米字键

博客园 首页 新随笔 联系 订阅 管理

2019年3月13日 #

摘要: public class BubleSort { public static void main(String[] args) { int[] arr = {12,2,25,89,5}; //定义数组元素 bubbleSort(arr); //调用冒泡排序 printArray(arr); //调用 阅读全文
posted @ 2019-03-13 21:31 米字键 阅读(784) 评论(0) 推荐(0) 编辑

摘要: public class Test { public static void main(String[] args) { int[] arr = {12,69,852,25,89,588}; //定义数组 selectS(arr); //调用选择排序 printS(arr); //调用遍历打印 } 阅读全文
posted @ 2019-03-13 21:19 米字键 阅读(398) 评论(0) 推荐(0) 编辑