enum

Introduction to Java Enum data type with example programs

Introduction to Java Enum data type with example An Enum in Java is a special data type that can be used to define a fixed set of constants. Similar to a [...]