I wonder what is a formal connection if any between Enumeration interface in Java and an Enum construct?
There is none, they're for entirely different things. enums are for enumerated constants. Enumeration is a largely-outdated interface superceded by Iterator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With