设计模式之单例模式的两种写法

    (1)开始就加载spa       private static ObjectManage newObj=new ObjectManager();get       private ObjectManager(){}static       //得到实例co      public static ObjectManager getInstanceObj(){sync       retur
相关文章
相关标签/搜索