First Example 20. Inheritance

Compare Inheritance with State pattern