Monthly Archive: February 2011

0

Enums, Java 5.0

As in Java 5.0, Java lets you to restrict a variable to having one of only a few pre-defined values –  in other words one value from an enumerated list. The items in enumerated...