blob: 16d090f09aec38049ef7f62bc58be327eec673f0 [file]
class Test {
@FunctionalInterface
interface I {
void f() throws Exception;
}
void bar() throws Exception {
foo(new I() {
public void f() {
System.out.println("");
System.out.println("");
}
});
}
void foo(I anObject) throws Exception {
anObject.f();
}
}