Question: is java singleton thread safe?
Answer: Singleton is mostly considered an anti-Pattern, because it brings inherent complexity to the system in terms of testing. ... There are multiple ways you can create singletons in Java, depending upon the requirements — Lazy vs Eager Initialization, thread-safety, you can construct appropriate singleton in Java.