Java Enums
Java Enums is a special java class that defines a collection of constants. Constants are the values that are fixed and cannot be changed. Constants are similar to final variables. Enum is referred to enumeration of a set of named constants. Enums are similar to classes and can have their own methods and attributes other … Read more