Re: Explain Enumeration an iteration?
Posted By:
Anonymous
Posted On:
Monday, August 29, 2005 08:45 AM
Both Enumeration and Iteration allow you to loop over a collection in a generic manner without a concrete looping implementation. Enumeration allows a static looping over the collection - you cannot modify the elements, Iteration allows removal of elements. You need to be watchful while calling the remove() method of the Iterator to avoid ConcurrentModificationException.
Re: Explain Enumeration an iteration?
Posted By:
Almagest_FUTT
Posted On:
Friday, July 15, 2005 08:11 AM
Enumeration is deprecated.