摘要: 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 阅读(141) 评论(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 阅读(360) 评论(0) 推荐(0)