![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Core Java
lexin2046
这个作者很懒,什么都没留下…
展开
-
Exception Handling - Part One
1. Do i need to create a new exception class ? When faced with choosing the type of exception to throw, you can either use one written by someone else — the Java platform provides a lot of exce原创 2013-08-02 14:45:21 · 660 阅读 · 0 评论 -
Java coding style - Part One
1. Factory method should be stateless. State normally refers to the member variables of class. Stateless, more precisely, it means immutable. Factory is just to create objects, and one call shou原创 2013-08-05 11:28:09 · 588 阅读 · 0 评论 -
Log4j on package level and how to test log entries produced by Log4j
1. Configure log4j on package level When you want the logs for different package to be in different log files, you can configure log4j in package level. So Log4j can be configured on package level原创 2014-01-21 10:28:08 · 784 阅读 · 0 评论