This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
在给定的多线程应用程序中这个单例实现是否可以:没有序列化,反序列化
public class NewSingleton {
private static final NewSingleton RAJNI= new NewSingleton();
private NewSingleton(){
}
public static NewSingleton getInstance() {
return RAJNI;
}
}