Strategy Design Pattern and Factory Method Design Pattern

后端 未结 4 739
后悔当初
后悔当初 2021-02-13 04:44

I start learning Design Patterns. Now I understand a little bit but there are quite a lot of confusions for me. What\'s the difference between Strategy DP and <

4条回答
  •  时光说笑
    2021-02-13 05:09

    You can find another java implementation for strategy pattern at http://javabyranjith.blogspot.in/2017/04/strategy-design-pattern.html

    and

    factory method design pattern at http://javabyranjith.blogspot.in/2014/06/factory-method-design-pattern.html

提交回复
热议问题