diff --git a/Creational/Singleton/java/AboutSingleton.txt b/Creational/Singleton/java/AboutSingleton.txt index a74f61d..efd3469 100644 --- a/Creational/Singleton/java/AboutSingleton.txt +++ b/Creational/Singleton/java/AboutSingleton.txt @@ -16,4 +16,11 @@ Use-cases of singleton design pattern: 1. Loggers 2. Cache 3. Session -4. Drivers \ No newline at end of file +4. Drivers + +Pros of using Singleton Enum: +1. No need of private constructor +2. Guaranteed one instance (Cannot instantiate more than one enum even through reflection) +3. Thread Safe + +Hence, Singleton Enum method is recommended as the best method of making singletons in Java.