We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在单例模式中itstack-demo-design-5-00 src/main/java/org/itstack/demo/design/Singleton_01.java Singleton_02.java两个文件代码中均缺少instance = new Singleton_01(); instance = new Singleton_02(); 对静态成员变量的赋值代码
The text was updated successfully, but these errors were encountered:
这个是懒加载,程序启动类加载初始化不需要赋值,就是当需要调用该对象的时候才进行第一次赋值
Sorry, something went wrong.
No branches or pull requests
在单例模式中itstack-demo-design-5-00 src/main/java/org/itstack/demo/design/Singleton_01.java Singleton_02.java两个文件代码中均缺少instance = new Singleton_01(); instance = new Singleton_02(); 对静态成员变量的赋值代码
The text was updated successfully, but these errors were encountered: