摘要: 1、Person类里面class Person { private static Person p; public static Person GetSingle() { if (p == null) { p = new Person(); } return p; } private Person() { } }2、Program类里面class Program { ... 阅读全文
posted @ 2013-11-27 16:25 蜡笔小新111 阅读(155) 评论(0) 推荐(0) 编辑