GoF Design Patterns – Template Method Design Pattern
The Template Method Design Pattern is a behavioral pattern that provides a way to define the skeleton of an algorithm in a base class and allows subclasses to override some steps of the algorithm without changing its structure. …