摘要: public class bubbleSort { //冒泡排序 public bubbleSort(){ int array[]={49,38,65,97,76,13,27,49}; int temp=0; for(int i=0;iarray[j+1]){ //把大的值交换到后面 temp=array[j]; ... 阅读全文
posted @ 2019-07-01 21:39 small海苔 阅读(75) 评论(0) 推荐(0)