import java.util.*; interface X { int m(Iterable arg); } interface Y { int m(Iterable arg); } interface Foo extends X, Y {}