الرجوع
تسجيل الدخول

What will be the output of this code?

class Base {
    Base() {
        System.out.println("Base Constructor");
    }
}

class Derived extends Base {
    Derived() {
        super();
        System.out.println("Derived Constructor");
    }
}

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