What is the output of this code?
class Base {
void display() {
System.out.println("Base display()");
}
}
class Derived extends Base {
void display() {
super.display();
System.out.println("Derived display()");
}
}
public class Test {
public static void main(String[] args) {
new Derived().display();
}
}