Delete comment from: Java67
javin paul said...
Hello Maddy and Vishu, I think class final is optional but good because when you have private constructor you cannot create a subsclass except an inner subclass. Yes, Reflection can break Singleton.
Jan 30, 2020, 6:52:19 AM
Posted to Thread-safe Singleton in Java using Double Checked Locking Idiom