Design Pattern
- Template
Design Pattern
These types of design patterns are used as templates. These design patterns are used in such conditions when we need a parent class having one or more methods to be implemented by their child classes. This design pattern introduces an idea of defining an algorithm in a class and leaving some of the methods to be implemented by their subclasses.
This design pattern is used to develop similar kind of operations template, reusing the common behavior to simplify code, algorithm related improvement, from many generalized to specialized operations.
Read more information at: