Enum is a user-defined type consisting of a fixed list of named constants. In the example below, the enumeration type is called Color and contains three constants: Red, Green and Blue.
KeywordsSwitch Statement Enumeration Type Integral Type Class Member Type Safety
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
© Mikael Olsson 2015