0 votes
in Education by (54.6k points)

What is Template pattern?

1 Answer

0 votes
by (54.6k points)
What is Template pattern?
In Template pattern, an abstract class exposes defined way(s)/template(s) to execute its methods. Its subclasses can override the method implementation as per need but the invocation is to be in the same way as defined by an abstract class. This pattern comes under behavior pattern category.
...