Java - Interfaces
Identify the error in the following code:
interface A {
default void display() {
System.out.println("A");
}
}
class B implements A {
void display() {
System.out.println("B");
}
}