67,513
社区成员
发帖
与我相关
我的任务
分享
public List<IABC> test(){
return new ArrayList<IABC>();
}
public List<IABC> test(){
return new ArrayList<ICustomerService>();
}
public List<IABC> test(){
List<IABC> al=new ArrayList<IABC>();
IABC iabc = new ABCImpl();
al.add(iabc);
return al;
}
public List<IABC> test(){
ArrayList<IABC> al=new ArrayList<ABCImpl>();
return al;
}
改为这样就OK了。