Yep, both an Enumeration and an Iterator hop over the elements of a
collection. An iterator can (optionally) remove a current element but an
Enumeration can not. The Enumeration class is an old class and it
existed far before the Collection framework saw the light.
Consider it a legacy class that needs to be used sometimes but prefer
an Iterator when you can.
kind regards,
Jos