Introduction to Enums
An enum (short for enumeration) in Java is a special data type that represents a fixed set of constants. It is essentially a special kind of class that always returns a predetermined number of instances.
Built-in Enum Methods
When you create an enum, the Java compiler automatically adds several highly useful methods to your enum class.
Enums in Switch Statements
One of the best places to use an Enum is inside a switch statement.
Enum Constructors and Fields
The true power of an enum in Java comes from the fact that it is a class.