From acaf94cfce14c0ed25d098b05d89d333ca82b357 Mon Sep 17 00:00:00 2001 From: Shabin Francis Date: Mon, 8 Jun 2026 11:57:19 +0530 Subject: [PATCH] Add notification service example to Factory Method README --- factory-method/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/factory-method/README.md b/factory-method/README.md index 4334b052353d..f4763d371ced 100644 --- a/factory-method/README.md +++ b/factory-method/README.md @@ -31,6 +31,9 @@ Real-world example In plain words > It provides a way to delegate the instantiation logic to child classes. +> +> Imagine a messaging app that can send notifications by Email, SMS, or Push Notifications. +> The user only asks to send a message. The Factory Method chooses and creates the correct notification service. Wikipedia says