摘要: class Bowl{ Bowl(int marker){ System.out.println("Bowl(" + marker + ")" ); } void f1(int marker){ System.out.println("f1(" + marker + ")"); }}class Table{ //首先是静态变量 static Bowl bow1 = new Bowl(1);//2 Table(){ System.out.println("Table()");//4 bowl2.f 阅读全文
posted @ 2013-07-19 11:40 E_star 阅读(456) 评论(0) 推荐(0) 编辑