posted 12 years ago
Enums are just (special) classes, so you can add methods and other declarations to them. If you do that, you need the semi-colon first.
Here's an example.
Here, I've got an enum with a private member, an accessor (getter) for it, and a constructor to set the value. You need the semi-colon so the compiler can tell where the enum values end and the rest of the class description begins.