Thread safe Singleton implementation.
Anonymous
principles: private static obj private constructor public static synchronized getInstance function Best double-checked locking: check null -> synchronized -> check null -> new obj
Check out your Company Bowl for anonymous work chats.