Concept Flow - Singleton pattern
Start
Check if instance exists?
Yes→Return existing instance
No
Create new instance
Store instance
Return new instance
End
The Singleton pattern checks if an instance exists; if not, it creates one, stores it, and returns it. Otherwise, it returns the stored instance.