A singleton design pattern is a Creational Design Pattern, Used for resource-intensive objects, Restricts multiple instantiations of a class, and ensures that only one instance of the class exists in the JVM.
Singleton Design Pattern
1 post