摘要: 关于接口:建议接口不包含成员编量,只包括接口。这样功能单一,利于接口聚集,重用。 尤其是基础类库要注意这点。当然带来多写代码。 例如在项目中用类 class A{ interface0(); interface1(); interface2(); interface3(); int kkk; int 阅读全文
posted @ 2019-09-03 11:11 keleman 阅读(144) 评论(0) 推荐(0) 编辑