![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
effectiveJ
mtjwy
这个作者很懒,什么都没留下…
展开
-
Effective Java Chapter 1
Fundamental principles翻译 2015-10-23 13:38:28 · 320 阅读 · 0 评论 -
Item 1: Consider static factory methods instead of constructors
A class can provide a public static factory method to return a instance of itself.Advantage: When a class has overloaded constructors, we can replace the multiple constructors with static factory metho翻译 2015-10-23 13:54:30 · 439 阅读 · 0 评论