What real (ie practical) difference exists between a static class and a singleton pattern?
(静态类和单例模式之间存在什么真正(即实用)的区别?)
Both can be invoked without instantiation, both provide only one "Instance" and neither of them is thread-safe.
(两者都可以不实例化地调用,都只提供一个“实例”,并且它们都不是线程安全的。)
Is there any other difference?(还有其他区别吗?)
ask by Jorge Córdoba translate from so