摘要:
public class ExtendsTest { public static void main(String[] args) { A a1 = new A(); A a2 = new B(); B b = new B(); C c ... 阅读全文
摘要:
父类:public class Parent { public String name; private String pass; public void say1(AA aa){ System.out.println("parent say1... 阅读全文