Java LanguageEnum starting with number

Download Java Language for free

Introduction

Java does not allow the name of enum to start with number like 100A, 25K. In that case, we can append the code with _ (underscore) or any allowed pattern and make check of it.

Related Examples

Enum with name at begining