摘要: public class Test { static class B { public int i = 0; public String s = "0"; } public static void main(String[] args) { int i = 0; change1(i); System 阅读全文
posted @ 2012-03-21 11:37 lihui1625 阅读(76) 评论(0) 推荐(0) 编辑
摘要: class B { public int i=0; } public class MyTestCase { @Test public void hello() { int a = getI(); System.out.println("a = " + a); B b1 = getB1(); Syst 阅读全文
posted @ 2012-03-21 11:16 lihui1625 阅读(98) 评论(0) 推荐(0) 编辑
摘要: class Ins implements java.lang.Cloneable { public Ins() { System.out.println("Construct called"); } @Override public Ins clone() throws CloneNotSuppor 阅读全文
posted @ 2012-03-21 11:12 lihui1625 阅读(148) 评论(0) 推荐(0) 编辑