Java - Interfaces
Find the error in this code snippet:
interface I {
default void foo() {
bar();
}
void bar();
}
class C implements I {
public void bar() {
System.out.println("bar");
}
}