Shabbir excellent. Thanks a lot . I had a little bit confusion on state design pattern.
shabbir like this