I am reading about Factory pattern and understand the concept and implementation of it. But the definition is confusing me. Can someone please clarify it?
Definition: The Factory pattern is to define an interface for creating objects but delegates the object creation to the subclasses.
I was confused at delegates the object creation to the subclasses. It is delegating responsibility to factory class not to sub classes correct?