Java Design Patterns Question:

How do I document a design pattern?

Tweet Share WhatsApp

Answer:

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 PDF Read All 29 Java Patterns Questions
Previous QuestionNext Question
What are Collaboration Patterns?What are Anti-Patterns?