摘要: package variablearglist.one;public class Main { public static void variablearglist(Object... os){ System.out.print("["); ... 阅读全文
posted @ 2017-03-22 18:22 wjc920 阅读(120) 评论(0) 推荐(0) 编辑
摘要: package initialvalue.one;public class Main { public char charVal; public byte byteVal; public short shortVal; public int i... 阅读全文
posted @ 2017-03-22 18:20 wjc920 阅读(459) 评论(0) 推荐(0) 编辑
摘要: package staticinit.one;public class Main1 { public static void main(String[] args) { System.out.println("第一遍初始化StaticOrInsta... 阅读全文
posted @ 2017-03-22 18:19 wjc920 阅读(163) 评论(0) 推荐(0) 编辑
摘要: package staticinit.one;public class ClassInitOrder { public static void main(String[] args) { new Son(); /* *... 阅读全文
posted @ 2017-03-22 18:19 wjc920 阅读(75) 评论(0) 推荐(0) 编辑
摘要: package overloading.main;//基本类型的重载public class Main { void f1(char x){ System.out.print("f1(char x) "); } void f1(byte... 阅读全文
posted @ 2017-03-22 18:18 wjc920 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1.若构造器声明为package,则只能在同包下的类里面实例化: 2.若构造器声明为protected和private,则只能在本类中实例化(注:构造器声明为protected仍可以被子类继承,而构造器别声明为private的类不可以被继承) 2.1 构造器声明为... 阅读全文
posted @ 2017-03-22 18:14 wjc920 阅读(159) 评论(0) 推荐(0) 编辑
摘要: MySQL Server架构图 阅读全文
posted @ 2017-01-02 20:31 wjc920 阅读(110) 评论(0) 推荐(0) 编辑
摘要: package test;import java.util.Stack;public class Sort { public static void main(String[] args) { Node root9=new Node(9,null,... 阅读全文
posted @ 2016-12-13 16:52 wjc920 阅读(136) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[] args) { int[] a=new int[]{1,2,3,4,5,6,11,12,13,14,15,21,22}; int[] b=new int[]{7,8,9,10... 阅读全文
posted @ 2016-12-12 17:42 wjc920 阅读(327) 评论(0) 推荐(0) 编辑
摘要: class Candy{ private Integer i; public void setI(Integer i) { this.i = i; } public Integer getI() { return i... 阅读全文
posted @ 2016-11-14 17:14 wjc920 阅读(124) 评论(0) 推荐(0) 编辑