Enumerations vs Final Variables in java 1. Enumeration is type safe. Where as final variables are not. 2. Enumeration supports to have a blend of various values. Where as final variables does not support multiple values. 3. Enumeration constants can be names. Where as final constants can not be named.
|