+ 2
What is a 'enum' ?
4 Answers
+ 3
It's enumerated type, example of it in C++ would be like this.
enum class Color {Red, Green, Blue};
Using an enum allows you iterate trough a list of objects you defined.
+ 2
Basically, Enums define variables that represent members of a fixed set.
+ 2
An Enum is a special type used to define collections of constants.
+ 1
enum is a constant