Factory, Abstract Factory and Factory Method
- by skydoor
Hi,
I am really confused about these three terms.
My understanding is that:
in the Factory pattern, there is no concrete factory. The factory builds the new objects according to the parameters.
in Abstract Factory pattern, there are multiple concrete factories. The client has to create different concrete factories explicitly.
Is that right?
What are the other differences?
Furthermore, what is the Factory Method pattern? Is it same as the Factory pattern?