Skip to content
#

designpa

Here is 1 public repository matching this topic...

In the Abstract Factory pattern, we get rid of if-else block and have a factory class for each sub-class. Then an Abstract Factory class that will return the sub-class based on the input factory class. At first, it seems confusing but once you see the implementation, it’s really easy to grasp and understand the minor difference between Factory a…

  • Updated Dec 4, 2018
  • Java

Improve this page

Add a description, image, and links to the designpa topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the designpa topic, visit your repo's landing page and select "manage topics."

Learn more