Reputation: 96391
I wonder what is a formal connection if any between Enumeration interface in Java and an Enum construct?
Upvotes: 6
Views: 734
Reputation: 1074138
There is none, they're for entirely different things. enums
are for enumerated constants. Enumeration
is a largely-outdated interface superceded by Iterator
.
Upvotes: 14