class Test { interface Foo { void boo(T t); } private static void f(Foo... fs) { fs[0].boo("hey!"); } private static void f1(Foo... fs) { fs[0].boo("hey!"); } }