30
2017
08
JAVA--单例模式
//懒汉式
public class Singleton {
private Singleton() {}
private static Singleton SING = null;
public static Singleton singsing(){
if(SING == null){
SING&n
作者:MaoDehao | 分类:典型题 | 浏览:1107 | 评论:0