diff --git a/language/oop5/patterns.xml b/language/oop5/patterns.xml index aec8d0246a..a8fd63ff85 100644 --- a/language/oop5/patterns.xml +++ b/language/oop5/patterns.xml @@ -1,5 +1,5 @@ - + Patterns @@ -12,16 +12,17 @@ The Factory pattern allows for the instantiation of objects at runtime. It is called a Factory Pattern since it is - responsible for "manufacturing" an object. + responsible for "manufacturing" an object. A Parameterized Factory receives + the name of the class to instantiate as argument. - Factory Method + Parameterized Factory Method