项目作者: Design-pattrns

项目描述 :
Factory design pattern is used when we have a super class with multiple sub-classes and based on input, we need to return one of the sub-class. This pattern take out the responsibility of instantiation of a class from client program to the factory class. We can apply Singleton pattern on Factory class or make the factory method static
高级语言: Java
项目地址: git://github.com/Design-pattrns/Factory-Pattern.git
创建时间: 2018-12-03T07:12:19Z
项目社区:https://github.com/Design-pattrns/Factory-Pattern

开源协议:

下载