Can an abstract class in an implementation of the Template Method pattern have more than one template method?
Asked
Active
Viewed 160 times
1 Answers
2
Yes. The Template Method design pattern is about allowing derived classes to implement parts of an algorithm for which the base class provides the basic structure.
The base class defines a template method for each portion of the algorithm that the derived classes would have to implement.

Enrico Campidoglio
- 56,676
- 12
- 126
- 154