Java Design Patterns Question:
Download Questions PDF

Explain about Template method?

Answer:

Template method is the most common way of representing. Implementation of a method differs for files, sockets, pipes, strings, text entry widgets, etc. When template method is used logic of the entire class is modified. Missing logic can be called by abstract and concrete methods.

Download Java Patterns Interview Questions And Answers PDF

Previous QuestionNext Question
Explain about semaphores?State all the different patterns and give the various divisions present?