interface f1 { fun(); } interface f2 { fun(); } class A:f1,f2 { public void fun() {} } which one interface is implement in this class