From 9f5c035e134d5e8f26e6acf3e113a1e517d5bc7c Mon Sep 17 00:00:00 2001 From: Suraksha S Date: Wed, 3 Dec 2025 12:08:20 +0530 Subject: [PATCH] Improved documentation in Singleton README --- singleton/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/singleton/README.md b/singleton/README.md index 92505061399e..558de7e8d147 100644 --- a/singleton/README.md +++ b/singleton/README.md @@ -16,6 +16,7 @@ tag: * Single Instance ## Intent of Singleton Design Pattern +The Singleton pattern is used when exactly one instance of a class is needed to coordinate actions across the system. Ensure a Java class only has one instance, and provide a global point of access to this singleton instance.