All quizzesHard
Behavioral Patterns
Preview — 3 of 10 questions
What does the Builder pattern do?
AConstructs buildings or structures.
BPrevents object creation.
CBuilds HTML documents.
DSeparates object construction from its representation, allowing flexible creation.
What does the Mediator pattern do?
AMediates disputes between objects.
BPrevents communication between objects.
CReduces coupling between objects by having them communicate through a mediator.
DCreates mediation agreements.
What does the Visitor pattern do?
ARepresents a visitor accessing an object.
BSeparates algorithms from the objects they operate on.
CPrevents visitors from accessing objects.
DCreates visitor tracking system.
Sign up free to play
Answer all 10 questions (7 more), see explanations for every answer, and track your score.