الرجوع
تسجيل الدخول
class Parent {
    Parent() {
        System.out.println("Parent Constructor");
    }
}

class Child extends Parent {
    Child(int x) {
        System.out.println("Child Constructor " + x);
    }
}

public class Test {
    public static void main(String[] args) {
        new Child(10);
    }
}

What does this program output?