How does `Enumeration` differ from `Iterator` in Java?
The `Iterator` interface is just a newer version of `Enumeration`, and it supports all of its functionality along with additional features.
Thatâ€™s incorrect. While `Iterator` does support all functionality of `Enumeration`, `Iterator` also has extra features like `remove()`.
Can you clarify the specific methods that `Iterator` has which `Enumeration` doesn't?