Although it's technically an abstract factory, it also looks just like a Factory Method class.
The difference is typically in usage, where the abstract factory is used to define a set of types, the factory method is used to create instances of an unknown implementation of an interface.
Although it's technically an abstract factory, it also looks just like a Factory Method class.
The difference is typically in usage, where the abstract factory is used to define a set of types, the factory method is used to create instances of an unknown implementation of an interface.