Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following statements are true about the state pattern?
Makes eachstate its own class.
Makes each
state its own class.
Delegates behavior to state objects.
Uses inheritance instead of composition.
Requires multiple if-then-else.
Defines a common State interface.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!