lundi 23 mars 2015

abstract class and Template Method pattern and HttpServlet

There is no any abstract methods in the HttpServlet which is declared abstract class with key word abstract. doGet and others are not abstract methods. So why HttpServlet is declared as abstract class without any abstract class?


Is the HttpServlet an example of template method pattern?


What's the template pattern and template method pattern. What's the differences?


Aucun commentaire:

Enregistrer un commentaire