Java Design Patterns Question:

Explain the difference between Canonical and GoF form?

Java Patterns Interview Question
Java Patterns Interview Question

Answer:

Canonical and GoF patterns are almost similar in characteristics. Canonical form places greater importance on explicit forces and resolutions whereas in GoF format a solution is broken into different sections and it also uses design diagrams with sample code.


Previous QuestionNext Question
Explain about abstract factory method?State the purpose of why a Java singleton should be used?