Java Design Patterns Question:
Download Questions PDF

How do I document a design pattern?


The following are the major points for describing a pattern.

► Short and meaningful name for the pattern is to be selected.
► Problem description and goals and constraints that may occur in that context is to be identified.
► The participating classes and objects in the design pattern and their structure, responsibilities and their collaborations are to be decided. An abstract description is applied in many different situations are provided by the solution.
► Identify the uses in the real systems and its efficiency.

Download Java Patterns Interview Questions And Answers PDF

Previous QuestionNext Question
What are Collaboration Patterns?What are Anti-Patterns?