Factory method pattern: Difference between revisions

Content deleted Content added
Fredrik (talk | contribs)
cleanup
No edit summary
Line 1:
In [[computer programming]], the '''factory method pattern''' is a [[software design pattern]]. The factory method pattern is useful to solve the common problem of constructing [[object (computer science)|objects]] based on some [[input]] such that [[function (programming)|function]]s inside the objects depend upon the input.
 
==Example==