Enums are lists of constants. When we need a predefined list of values,we should always use enums.
We should always use enums when a variable (especially a method parameter) can only take one out of a small set of possible values.
1) All enums implicitly extend
2) Enum in Java are type-safe: Enum has there own name-space. It means your enum will have a type for example “EmployeeType” in below example and you can not assign any value other than specified in Enum Constants.
3) Enum constants are implicitly static and final and can not be changed once created.
4) You can not create instance of enums by using new operator in Java because constructor of Enum in Java can only be private and Enums constants can only be created inside Enums itself.
Following is demo code
MANAGER, TESTER, DEVELOPER