Java Template Method Pattern in 3 mins

preview_player
Показать описание
Template Method Pattern is a behavioral design pattern in GoF's design pattern. In my opinion, it is fundamental and worth to know and learn. It opens up our eyes to the most usual ways of OO design.

In this pattern, the father class (the abstract superclass) defining the skeleton/algorithm of an operation in terms of a number of high-level steps. The detailed steps are to be implemented by the sons (the subclasses)

#JAVA #TemplateMethod #DesignPattern #ObjectOriented
Рекомендации по теме