Is this a correct implementation of the strategy pattern (JAVA, Fly method of ducks)?

后端 未结 0 1303
旧时难觅i
旧时难觅i 2020-12-17 17:01

I just want a quick lookover that I implemented the different fly strategies correctly.

The program simply consists of a duck class that uses an interface for its fly

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