Computer Science, asked by sharif53, 4 months ago

changing behaviour of an object in changing context is called​

Answers

Answered by sruti1212
1

Answer:

The state pattern is a behavioral software design pattern that allows an object to alter its behavior when its internal state changes. ... The state pattern can be interpreted as a strategy pattern, which is able to switch a strategy through invocations of methods defined in the pattern's interface.

Explanation:

\huge\bold\red{i}\bold\green{ \: hope \: }\bold\purple{it \:}\bold\orange{was \: }\bold\red{helpful}

Similar questions