0
已修复

Yup - there is a mistake... in the Context class instead of "return strategy.execute(a, b)" should be "return strategy.algorithm(a, b)", because Strategy class doesn't have "execute" method

Klim 7 年 前 更新人: anonymous 7 年 前 1

Yup - there is a mistake... in the Context class instead of "return strategy.execute(a, b)" should be "return strategy.algorithm(a, b)", because Strategy class doesn't have "execute" method

解答

解答
已修复

Fixed, thanks!

UserEcho 的客户支持