added abstract factory example

This commit is contained in:
2024-10-07 10:36:54 +02:00
parent 2f41073a0f
commit 50e6ed18df
10 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package learn.simple_abstract_factory;
public class ProductB2 implements AbstractProductB {
@Override
public String toString() {
return "ProductB2";
}
}