plbulic class SignleMode{
private SignleMode me = null;
private SignleMode;
publice static SingleMode getInstace(){
if(me==null)
me= new SignleMode;
return me;
}
}
Java中的单例化
最新推荐文章于 2022-12-31 13:57:51 发布
plbulic class SignleMode{
private SignleMode me = null;
private SignleMode;
publice static SingleMode getInstace(){
if(me==null)
me= new SignleMode;
return me;
}
}