Can someone please explain to me what is the difference between the template method pattern and the strategy pattern is?
As far as I can tell they are 99% the same -
Template Method:
Template_method structure:
Strategy:
Strategy structure:
Have a look at Template method and Strategy articles for better understanding.
Related posts:
Template design pattern in JDK, could not find a method defining set of methods to be executed in order
Real World Example of the Strategy Pattern