Enum starting with number

suggest change

Introduction

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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents