Singleton Pattern

The Singleton Pattern is a creational design pattern that ensures a class has only one instance while providing a global point of access to it. This pattern is commonly used to manage shared resources or enforce a single point of control in an application.