JAVA DESIGN PATTERN Questions and Answers

Mention how one should describe a design pattern?

To describe a design pattern, following things need to be taken care of

  • Pattern name and classification
  • Problem and solution
  • Consequences : Variation and language dependent alternatives should also be addressed
  • Know Uses: Identify the uses in the real systems and its efficiency