上一页 1 ··· 5 6 7 8 9
摘要: public class TestC { public static void main(String []args) { new Graph(5); }}class Grp{ void draw() { System.out.println("draw...."); } Grp() { draw( 阅读全文
posted @ 2017-03-07 21:35 Always_July 阅读(138) 评论(0) 推荐(0) 编辑
摘要: public class TestB { private void f() { System.out.println("TestB"); } public static void main(String []args) { TestB b = new ExtendsTestB(); b.f(); } 阅读全文
posted @ 2017-03-07 21:01 Always_July 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 结果 static Astatic Bnormal Aconstutor Anormal Bconstutor B 结论,父类静态--》子类静态--》父类初始化=父类代码块--》父类构造函数--》子类代码块=子类初始化--》子类构造函数 阅读全文
posted @ 2017-03-06 22:13 Always_July 阅读(436) 评论(0) 推荐(0) 编辑
摘要: public class Input { private String title; private int formId; private String content; public String getTitle() { return title; } public void setTitle(String tit... 阅读全文
posted @ 2017-03-03 09:00 Always_July 阅读(7002) 评论(2) 推荐(0) 编辑
摘要: 系统运行级别 说明 0 系统关机状态 1 单用户工作状态,用于root对系统进行维护,此时不予许其他用户使用主机。(类似于windows 的安全模式) 2 多用户状态(没有NFS) 3 多用户状态(有NFS),主机做为服务器常在该模式下工作 4 系统未定义 5 多用户状态,并且在系统启动后运行xwindow 6 系统关闭并正常启动 阅读全文
posted @ 2017-01-09 21:56 Always_July 阅读(292) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9