Day: April 25, 2018

In applications, you often need to work with a set of constant values. For example, representing a contract status with the “permanent”, “temp”, and “intern” values, or directions with the “north”, “south”, “east”, and “west” values. In Java, you use the enum type (short for enumeration), a special datatype introduced in Java 5 to represent […]Continue reading