interface FuncA {
    String func(String arg);
}
interface FuncB {
    int func(int arg);
}
interface FuncC {
    String func(int arg);
}
public class TestLambda {
    static void foo(FuncA f) { }
    static void foo(FuncB f) { }
    static void foo(FuncC f) { }
    public static void main(String args[]) {
        foo(x->x); // Compilerfehler
        foo((String x)->x);
    }
}
