01: package test; 02: 03: public class Enums { 04: 05: public void test() { 06: Enum e = Enum.A; 07: 08: switch (e) { 09: case A: 10: case B: 11: case C: 12: } 13: } 14: 15: public enum Enum { 16: A, B { 17: }, 18: C() { 19: }; 20: } 21: }