Design Patterns · Junior · Question 2 of 75

Into which three groups are the classic GoF patterns divided?

Explanation

Creational patterns deal with creating objects (Factory, Builder, Singleton), structural ones with composing objects (Adapter, Decorator, Facade), behavioral ones with interaction and distribution of responsibilities (Observer, Strategy, Command). The "Gang of Four" book (1994) described 23 patterns.

Further reading

Problem with a question

Design Patterns · Junior · question 2

Test yourself

Take the Design Patterns · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz