Who Picks Behavior

Both State and Strategy involve delegating behavior to an encapsulated object. How do they differ in intent?

A

State can only have two states while Strategy supports any number of variants

B

State transitions between behaviors automatically based on internal conditions; Strategy is explicitly selected by the client

C

State uses inheritance while Strategy uses composition

D

State is a creational pattern while Strategy is behavioral