子父类继承的问题--求解释为什么运行的结果是03040 package test; public class Sub extends Super { int j = 30; Sub() { print(); j = 40; } void print() { System.out.print(j); } public static void main(String[] args) { System.out.print(new Sub().j); } } class Super { int i = 10; Super() { print(); i = 20; } void print() { System.out.print(i); } }