What are the practical uses of Factory Method Pattern?

前端 未结 6 945
闹比i
闹比i 2021-01-11 09:51

I\'m pretty new to Design Patterns.I just came across Factory Design Pattern. I understood that it delegates the instantiation to subclasses. But I didn\'t get the actual ap

6条回答
  •  轮回少年
    2021-01-11 10:20

    The factory pattern is very useful to map a capacity into an apropriate handler.

提交回复
热议问题