Template method pattern is a behavioral design pattern that defines the program skeleton of an algorithm in an operation, defering some steps to subclasses.
Structure:
Key notes:
Template method uses Inheritance
The Template method implemented by the base class should not be overridden. In t...