摘要: 懒汉式 public class Singleton { private static Singleton instance; private Singleton() {}; public static synchronized Singleton getInstance() { if (insta 阅读全文
posted @ 2021-01-06 15:02 //没有对象的空指针 阅读(117) 评论(0) 推荐(0)