摘要: A private constructor is a special instance constructor. It is generally used in classes that contain static members only. If a class has one or more private constructors and no public constructors, other classes (except nested classes) cannot create instances of this class. For example:public class 阅读全文
posted @ 2013-10-20 05:14 MinieGoGo 阅读(168) 评论(0) 推荐(0) 编辑