From a9a53977e9e77d913ab05458b5e08c13e263fad1 Mon Sep 17 00:00:00 2001 From: amin Date: Thu, 11 Jul 2024 16:27:46 +0100 Subject: [PATCH] docs: adding more test examples --- subjects/java/checkpoints/factory-blueprint/README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/subjects/java/checkpoints/factory-blueprint/README.md b/subjects/java/checkpoints/factory-blueprint/README.md index 052ce4bf7..0f2a8ebf5 100644 --- a/subjects/java/checkpoints/factory-blueprint/README.md +++ b/subjects/java/checkpoints/factory-blueprint/README.md @@ -4,8 +4,6 @@ You are given an incomplete Factory design pattern implementation with some incorrect parts. Complete and fix the class to demonstrate your understanding of how the Factory design pattern works. -The method `showDetails` should print the class name 'ConcreteProductA' for `ConcreteProductA` and so on. - ### Expected Classes ```java @@ -70,8 +68,8 @@ public class ExerciseRunner { ```shell $ javac *.java -d build $ java -cp build ExerciseRunner -This is ConcreteProductA -This is ConcreteProductB +This is ConcreteProductA. +This is ConcreteProductB. Invalid product type $ ```