Java - Inheritance
Given the classes below, what will be the output when running new Child().display();?
class Parent {
void display() {
System.out.println("Parent display");
}
}
class Child extends Parent {
void display() {
super.display();
System.out.println("Child display");
}
}