Java

Topic: Design pattern

Explain Design Patterns template?

Design Patterns uses the following template:• Pattern name and classification: A conceptual handle and category for thepattern• Intent: What problem does the pattern address?• Also known as: Other common names for the pattern• Motivation: A scenario that illustrates the problem• Applicability: In what situations can the pattern be used?• Structure: Diagram using the Object Modeling Technique (OMT)• Participants: Classes and objects in design• Collaborations: How classes and objects in the design collaborate• Consequences: What objectives does the pattern achieve? What are thetradeoffs?• Implementation: Implementation details to consider, language-specificissues• Sample code: Sample code in Smalltalk and C++• Known uses: Examples from the real world• Related patterns: Comparison and discussion of related patterns

Browse random answers: