05 2021 档案
摘要:package week12; public class Point { int x; int y; public Point(int x0,int y0) { super(); this.x=x0; this.y=y0; } public Point() { super(); } public S
阅读全文
摘要:1、编写一个简单程序,要求数组长度为5,分别赋值10,20,30,40,50,在控制台输出该数组的值。(知识点:数组定义和创建、一维数组初始化)[必做题]? 1 package XSC; 2 3 public class work { 4 5 /** 6 * @param args 7 */ 8 p
阅读全文
摘要:1.编写一个方法,实现冒泡排序(由小到大),并调用该方法 1 import java.util.Scanner; 2 3 public class zuoye { 4 public static void mppx(int []x) { 5 for (int i = 0; i < x.length;
阅读全文
浙公网安备 33010602011771号