Java - Interfaces
Identify the error in this code snippet:
interface A { void display(); }
interface B { void display(); }
class C implements A, B { }
public class Test {
public static void main(String[] args) {
C obj = new C();
obj.display();
}
}