Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 382 Bytes

File metadata and controls

5 lines (3 loc) · 382 Bytes

Template Method Pattern

Template Method is a behavioral design pattern that defines the skeleton of an algorithm in the superclass but lets subclasses override specific steps of the algorithm without changing its structure. source

In this example LoggerTemplate implements the template method patters.