As I have learned in Java, enumerated types (enums) are a special data type that enables a variable to be predefined constants. The goal of this article is to allow people to understand traditional enumerated types and typesafeenums. It will also highlighting their implementation, advantages, and usage in the