Difference between Enumeration and Iterator

Questions by antony_praveen80   answers by antony_praveen80

Showing Answers 1 - 2 of 2 Answers

keerti

  • Oct 21st, 2005
 

The Enumeration interface is what allows you to walk through the elements of a legacy collection(ie., for Synchronized Collections). Iterator interface is used for stepping through the elements(.ie., for ArrayList,LinkedList).

  Was this answer useful?  Yes

nizam

  • Feb 14th, 2006
 

you can remove in iterate but not in enumeration while walkin through

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions