随笔分类 -  JAVA基础

摘要:1 package 基础语法练习; 2 3 public class 冒泡排序 { 4 public static void main(String[] args) { 5 6 // 定义一个不规则的数组 7 int[] array = {10, 2, 1, 9, 4, 88, 77, 81}; 8 阅读全文
posted @ 2022-01-15 17:20 Chris丶Woo 阅读(17) 评论(0) 推荐(0)
摘要:1 package 基础语法练习; 2 3 public class 打印乘法表 { 4 public static void main(String[] args) { 5 6 for (int i = 1; i <= 9; i++) { 7 for (int j = 1; j <= i; j++ 阅读全文
posted @ 2022-01-15 17:02 Chris丶Woo 阅读(14) 评论(0) 推荐(0)