Creating an Enumeration Type
Context
An enumeration type allows you to define an abstract type that holds a list of values of the same primitive Java type that are logically related in a given context.
An enumeration type allows you to define an abstract type that holds a list of values of the same primitive Java type that are logically related in a given context.