Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

The State pattern allows an object to change its behavior when its internal state changes

State Pattern: It allows an object to change its behavior when its internal state changes. It appears as if the object changed its class.
 
PREVIOUS NEXT
Tagged: #The #State #pattern #object #change #behavior #internal #state
ADD COMMENT
Topic
Name
6+3 =