Skip to content

Conversation

abhijay94
Copy link
Contributor

In class-based programming, the factory method pattern is a creational pattern that uses factory methods to deal with the problem of creating objects without having to specify the exact class of the object that will be created. This is done by creating objects by calling a factory method—either specified in an interface and implemented by child classes, or implemented in a base class and optionally overridden by derived classes—rather than by calling a constructor.

abhijay94 and others added 6 commits May 16, 2019 13:04
…Test.java

Co-Authored-By: Libin Yang <contact@yanglibin.info>
…Test.java

Co-Authored-By: Libin Yang <contact@yanglibin.info>
…Test.java

Co-Authored-By: Libin Yang <contact@yanglibin.info>
…Test.java

Co-Authored-By: Libin Yang <contact@yanglibin.info>
…Test.java

Co-Authored-By: Libin Yang <contact@yanglibin.info>
…Test.java

Co-Authored-By: Libin Yang <contact@yanglibin.info>
@yanglbme yanglbme merged commit 21f8200 into TheAlgorithms:Development May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants