代码改变世界

阅读排行榜

数组学习案例

2019-10-12 14:35 by 进击的菜鸟123, 105 阅读, 收藏,
摘要: 案例1:使用冒泡排序对数组进行排序 public static void sort(int temp[]){ for(int i = 1;i <temp.length;i++){ for(int j = 0;j < temp.length;j++){ if(temp[i] <temp[j]){ in 阅读全文