2019年8月2日

uml画类图

摘要: https://juejin.im/post/5c072b62e51d4520cf0ed5f8 https://blog.csdn.net/geduo_83/article/details/86422485 阅读全文

posted @ 2019-08-02 09:46 dongruiha 阅读(183) 评论(0) 推荐(0) 编辑

有状态类还是无状态类?

摘要: 转自:http://developer.51cto.com/art/201603/507198.htm 相信大家都清楚何谓面向对象编程。不过有时候我们还需要花点时间决定为特定类赋予怎样的属性。很明显,如果类属性分配有误,那么我们很可能遇到严重的后续问题。在这里我们将共同探讨哪些类应该具备状态,而哪些 阅读全文

posted @ 2019-08-02 07:57 dongruiha 阅读(1918) 评论(0) 推荐(0) 编辑

导航