enumkonstanter
An enum constant, often shortened to just "enum" or "enumerator," is a named value within an enumeration type. Enumerations are a user-defined data type that consists of a set of named integer constants. These constants provide a more readable and maintainable way to represent a fixed set of distinct values compared to using raw integer literals. For example, instead of using the integer 0 to represent "Monday," a programming language might allow you to define an enumeration type `DaysOfWeek` with an enum constant `MONDAY`.
When an enum constant is declared, it is typically associated with an underlying integer value, though this
Enum constants are often used in switch statements, conditional logic, and as return values from functions