package test;class test1 { private static test1 instance = null; private test1() { } public static test1 getInstance() { if (instance == null) { instance = new test1(); } return instance; }}这段代码看不懂,解释下,谢谢! 这怎么运行不了.都是什么逻辑啊
添加回答
举报
0/150
提交
取消
