Package design.pattern.behavioural
Interface State
public interface State
State
is used when the behaviour of the object is completely depend on the internal state of the objectState
is used when the behaviour of the object is completely depend on the internal state of the object