interface Intf1{ } interface Intf2{ } class Gesucht implements Intf1, Intf2{ } class Test{ public test(x){ x=new Intf1(); x=new Intf2(); } }