摘要: 1.编写一个方法,实现冒泡排序(由小到大),并调用该方法 package xieuoyeqwe; public class asdhha { public static void py(int a[]) { int am=0; for (int j = 0; j < a.length; j++) { 阅读全文
posted @ 2023-06-20 20:39 《/》 阅读(18) 评论(0) 推荐(0)
摘要: 1、给定一个有9个整数(1,6,2,3,9,4,5,7,8)的数组,先排序,然后输出排序后的数组的值 package 看作业; import java.util.Arrays; public class asdjk { public static void main(String[] args) { 阅读全文
posted @ 2023-06-20 20:22 《/》 阅读(28) 评论(0) 推荐(0)