Enum Types
An enum is a definition of all possible values of a particular type. For example:
Enum values are dealt with as regular String
values, so the above definition is equivalent to:
An enum is a definition of all possible values of a particular type. For example:
Enum values are dealt with as regular String
values, so the above definition is equivalent to: