05 2021 档案

摘要:第一题 Point类 1 package works; 2 3 public class Point { 4 5 public int x; 6 public int y; 7 8 public Point() { 9 10 } 11 public Point(int x,int y) { 12 1 阅读全文
posted @ 2021-05-25 20:07 计算机1903孙铭泽 阅读(54) 评论(0) 推荐(0)
摘要:1.编写一个方法,实现冒泡排序(由小到大),并调用该方法 冒泡排序方法 1 public void sor(int a[]){ 2 int mid=0; 3 for (int i = 0; i < a.length; i++) { 4 for (int j = 0; j < a.length-1; 阅读全文
posted @ 2021-05-08 23:06 计算机1903孙铭泽 阅读(83) 评论(0) 推荐(0)