Java enum & enum Class (With Examples) - Programiz
https://www.programiz.com/java-programming/enums
WEBIn Java, an enum (short for enumeration) is a type that has a fixed set of constant values. We use the enum keyword to declare enums. For example, enum Size { SMALL, MEDIUM, LARGE, EXTRALARGE } Here, we have created an enum named Size. It contains fixed values SMALL, MEDIUM, LARGE, and EXTRALARGE.
DA: 99 PA: 2 MOZ Rank: 1