0 votes
11 views
in Education by (51.6k points)

What is state pattern?

1 Answer

0 votes
by (51.6k points)
What is state pattern?

In State pattern a class behavior changes based on its state. This type of design pattern comes under behavior pattern. In State pattern, we create objects which represent various states and a context object whose behavior varies as its state object changes.

Related questions

0 votes
1 answer 3 views
0 votes
1 answer 14 views
0 votes
1 answer 32 views
0 votes
1 answer 24 views
0 votes
1 answer 24 views
0 votes
1 answer 14 views
0 votes
1 answer 44 views
0 votes
1 answer 18 views
0 votes
1 answer 13 views
asked Nov 7, 2020 in Education by Editorial Staff (51.6k points)
0 votes
1 answer 18 views
asked Nov 7, 2020 in Education by Editorial Staff (51.6k points)
0 votes
1 answer 13 views
asked Nov 7, 2020 in Education by Editorial Staff (51.6k points)
0 votes
1 answer 15 views
asked Nov 7, 2020 in Education by Editorial Staff (51.6k points)
0 votes
1 answer 14 views
0 votes
1 answer 11 views
asked Nov 7, 2020 in Education by Editorial Staff (51.6k points)
0 votes
1 answer 14 views
asked Nov 7, 2020 in Education by Editorial Staff (51.6k points)
0 votes
1 answer 13 views
asked Nov 7, 2020 in Education by Editorial Staff (51.6k points)
0 votes
1 answer 15 views
asked Nov 7, 2020 in Education by Editorial Staff (51.6k points)
0 votes
1 answer 12 views
0 votes
1 answer 13 views
asked Nov 7, 2020 in Education by Editorial Staff (51.6k points)
0 votes
1 answer 12 views
0 votes
1 answer 11 views
asked Nov 7, 2020 in Education by Editorial Staff (51.6k points)
0 votes
1 answer 9 views
...