2017年10月20日

课堂作业3

摘要: 1 class Root{ static{ System.out.println("Root的静态初始化块"); } { System.out.println("Root的普通初始化块"); } public Root() { System.out.println("Root的无参数的构造器"); 阅读全文

posted @ 2017-10-20 17:27 小土球子 阅读(110) 评论(0) 推荐(0)

课后作业03

摘要: package bao;public class number{public static int a=0;int c;public number(int cc){c=cc;a++;}public int get(){ return a; }} package bao;public class D_ 阅读全文

posted @ 2017-10-20 13:34 小土球子 阅读(85) 评论(0) 推荐(0)

导航