摘要:
publicclassOuter{234publicOuter(){5System.out.print("a");//构造方法,new的时候才会出现,且后于变量的创建6}78910publicstaticvoidsayOther(Strings){11System.out.print(s);12}13141516publicintsay(Strings){17System.out.print(s);18return0;19}202122//初始化块,在new时,构造方法之前,变量之前执行23{24System.out.print("c");25inner 阅读全文
posted @ 2012-04-05 17:01 月不识己 阅读(7299) 评论(0) 推荐(0) 编辑