Can there be more than one template method in an implementation of the Template Method pattern? -


can abstract class in implementation of template method pattern have more 1 template method?

yes. template method design pattern allowing derived classes implement parts of algorithm base class provides basic structure.

the base class defines a template method each portion of algorithm derived classes have implement.


Comments