An enum type is a special data type that enables for a variable to be a set of predefined constants and the names of an enum type's fields are in uppercase letters.
In the Java programming language, you define an enum type by using the enum keyword.