Factory method pattern: Difference between revisions

Content deleted Content added
Clarified and changed the wording of the Overview section.
m Removed citation for a missing (suspended) webpage. Section is mostly a redefinition presented as a valuable use-case perspective and doesn't currently need extra sources.
Line 8:
 
The Factory Method design pattern solves problems like:
<ref>{{cite web|title=The Factory Method design pattern - Problem, Solution, and Applicability|url=http://w3sdesign.com/?gr=c03&ugr=proble|website=w3sDesign.com|accessdate=2017-08-17}}</ref>
* How can an object be created so that subclasses can redefine its subsequent and distinct implementation?
* How can an object's instantiation be deferred to a [[Subclass (computer science)|subclass]]?