摘要: 方法:构造方法私有化(private)public class TestClass { private static TestClass obj= new TestClass(); //私有构造方法 private TestClass() { } public st... 阅读全文
posted @ 2015-06-11 15:43 win24 阅读(252) 评论(0) 推荐(0) 编辑