Java多態練習

  public class Exam1 { public static void main(String[] args) { A a1 = new A();//非多態, A a2 = new B(); B b = new B(); C c = new C(); D d = new D(); System.out.println("(1)" + a1.show(b));/
相關文章
相關標籤/搜索