Java: using switch statement with enum under subclass by IT Nursery Java: using switch statement with enum under subclass