Enum starting with number
suggest changeIntroduction
Java does not allow an enum constant name to start with a digit, as in 100A or 25K. Prefix the constant with _ (or another legal first character) and remove that prefix when you display the code.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents