Multiple choice technology architecture

Which one of the following is not a participant in State pattern?

  1. State

  2. Context

  3. ConcreteState

  4. ConcreteContext

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The classic Gang of Four State design pattern consists of three core participants: Context, State, and ConcreteState. Context defines the client interface, State defines the common state interface, and ConcreteState implements state-specific behaviors. ConcreteContext is a fictional role and is not part of this pattern.