Delete comment from: Javarevisited
Vivek said...
More differences -
Serialization - Static members belong to the class and hence can't be serialized.
b. Though we have made the constructor private, static member variables still will be carried to subclass.
c. We can't do lazy initialization as everything will be loaded upon class loading only.
http://www.buggybread.com/2013/11/java-design-pattern-singleton.html
Nov 25, 2013, 2:42:34 PM
Posted to Difference between Singleton Pattern vs Static Class in Java? Example