摘要: package 作业; public class 稀疏数组 { public static void main(String[] args) { //1.创建一个11*11的二维数组棋盘,0为空七,1为黑棋,2为白棋。 int[][] array = new int[11][11]; //2.在棋盘 阅读全文
posted @ 2022-04-27 13:56 王小瘦的园子 阅读(16) 评论(0) 推荐(0) 编辑
摘要: package 方法; import java.util.Arrays; public class 冒泡排序 { public static void main(String[] args) { int[] arrays = {2, 4, 1, 12, 23, 3, 10}; int[] order 阅读全文
posted @ 2022-04-27 13:55 王小瘦的园子 阅读(15) 评论(0) 推荐(0) 编辑