How to apply Factory Pattern, Interface does not have method (belongs to implemented class)

前端 未结 0 1089
感动是毒
感动是毒 2021-02-19 08:19

I am applying Factory Pattern. There is an interface and two classes inherit from the interface.

Also, I created a class whose role is create an factory object. If I crea

相关标签:
回答
  • 消灭零回复
提交回复
热议问题