Using Java Enums
Last Updated on June 5, 2019 by Michelle Mesiona 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), […]Continue reading