package test;
class test1 {
private static test1 instance = null;
private test1() {
}
public static test1 getInstance() {
if (instance == null) {
instance = new test1();
}
return instance;
}
}
这段代码看不懂,解释下,谢谢! 这怎么运行不了.都是什么逻辑啊
Developer_Zuck
慕勒3251033
相关分类