An enumerated type specifies a set of related constants as its values. Examples include the days in a week, the standard north/south/east/west compass directions, a currency’s coin denominations, and ...
In “Constants” (JavaWorld, March 30, 2001), I wrote, “I’d be interested to hear how others declare their constants and why. I can post your responses in a future Q&A.” Well, here are some reader ...