Glossary: Java Beyond the Basics
Enum
Also written: enumeration, enum constant, enum constants, enums
A type with a fixed list of values, each an enum constant such as Category.MUG, so a typo like "Cofee" can't slip through.
Glossary: Java Beyond the Basics
Also written: enumeration, enum constant, enum constants, enums
A type with a fixed list of values, each an enum constant such as Category.MUG, so a typo like "Cofee" can't slip through.