Java Design Pattern: State
State Design Pattern is mainly for changing state at run-time. State pattern story People can live with different financial status. They can be rich or they can be poor. The two states – rich and poor – can be converted to each other from time to time. The idea behind the example: people normally work … Read more