Enums
Named constants. Useful when you have a fixed set of related values.
Numeric Enums
Section titled “Numeric Enums”By default, values start at 0 and auto-increment:
Custom Starting Value
Section titled “Custom Starting Value”Explicit Values
Section titled “Explicit Values”Set each value explicitly:
String Enums
Section titled “String Enums”More readable in logs and debugging: