new哪個對象,即使接收的不是該對象(而是超類),調用的也是該對象的方法

  public class Test{ public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException { Class c = Class.forName("com.effectiveJava.T.Sub
相關文章
相關標籤/搜索