摘要:
1 public class Demo2 { 2 public static void main(String[] args) { 3 test b=new test(5); 4 test b1=new test();//test()称为构造器,就是默认的构造方法,如果没有显式的定义一个构造器,系统 阅读全文
posted @ 2021-09-07 23:16
tiiiiii
阅读(49)
评论(0)
推荐(0)
摘要:
package OOP; import java.util.Arrays; //构造器 public class test { static int[] a={1,48,12,97,24,-5};//冒泡排序 public static void main(String[] args) { for 阅读全文
posted @ 2021-09-07 15:35
tiiiiii
阅读(40)
评论(0)
推荐(0)
浙公网安备 33010602011771号