摘要: public class ExtendsTest { public static void main(String[] args) { A a1 = new A(); A a2 = new B(); B b = new B(); C c ... 阅读全文
posted @ 2015-03-28 10:52 High阔天空 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 父类:public class Parent { public String name; private String pass; public void say1(AA aa){ System.out.println("parent say1... 阅读全文
posted @ 2015-03-28 10:51 High阔天空 阅读(199) 评论(0) 推荐(0) 编辑