+ 1
What is the difference between Enumeration and enum?
3 Answers
+ 1
Enumeration has more or less been replaced by Iterator since Java 1.2 (a LONG time ago...). The classes and interfaces in the Java EE packages that you mention were invented before that, so they (unfortunately) still use the old Enumeration interface. Sun doesn't want to change them, because that would make it incompatible with old Java programs.
0
Enumerations are part of discrete mathematics. Now we call them enums and they are present in UML and can be represented in most OO programming languages like C# and Java.
- 1
yygch