• 2021-04-14
    父类和子类定义如下: class FatherClass { public FatherClass() { System.out.println("FatherClass Create"); } } class ChildClass extends FatherClass { public ChildClass() { System.out.println("ChildClass Create"); } public static void main(String[] args) { FatherClass fc = new FatherClass(); ChildClass cc = new ChildClass(); } }请问输出结果为: