Declaration
To declare an enum, you write enum followed by a name for the enumeration
and the names of the different possibilities separated by commas.
enum StopLight {
    RED,
    YELLOW,
    GREEN
}
To declare an enum, you write enum followed by a name for the enumeration
and the names of the different possibilities separated by commas.
enum StopLight {
    RED,
    YELLOW,
    GREEN
}