Singleton Design Pattern

Photo by Jeevan Katel on Unsplash

What is Singleton Design Pattern?

Singleton is the simplest form of the design patterns, singleton means something singular which means having only one. in a Java program, a singleton object means creating only one object for the entire application. (per JVM). and this object is globally accessible within the application.

  1. Globally Access through the application.

Implementing a Singleton class.

Software Engineer