public class Singleton {     private static Singleton singleton = new Singleton();          private void Singleton() {              }          public static Singleton getInstance() {                      return singleton;              } }
点赞 评论

相关推荐

哞客37422655...:你猜为什么福利这么好还得一直追着你问
点赞 评论 收藏
分享
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务