12 2019 档案

摘要:话不多说,看代码 假设两个接口分别为Interface A1和Interface A2,实现类为 a 接口一 public interface A1 { void f(); } 接口二 public interface A2 { void f(); } 实现类 public class a impl 阅读全文
posted @ 2019-12-13 10:34 baishu 阅读(3843) 评论(0) 推荐(2)
摘要:1.首先接口A有两个实现类AImpl1和AIml2 1.1接口: public interface A { void fun(); } 1.2接口实现类1: @Service("s1") public class A implements AImpl1 { @Override public void 阅读全文
posted @ 2019-12-13 09:42 baishu 阅读(1107) 评论(0) 推荐(0)