The functionality of Enumeration interface is duplicated by the Iterator interface. Iterator has a remove() method while Enumeration doesn't. Enumeration acts as Read-only interface, because it has the methods only to traverse and fetch the objects, where as using Iterator we can manipulate the objects also like adding and removing the objects. So Enumeration is used when ever we want to make Collection objects as Read-only.
Liked By
Write Answer
What is the difference between Enumeration and Iterator?
Join MindStick Community
You have need login or register for voting of answers or question.
Amit Singh
16-Apr-2011