What is the difference between Enumeration and Iterator
Tutorials Shared by the Internet Community
Total Hits - 30580
Total Votes - 98 votes
Vote Up - 42 votes
Vote Down - 56 votes
Domain - javarevisited.blogspot.com
Category - JAVA/Collections
Submitted By - Javin Paul
Submitted on - 2011-02-05 08:20:12
This question is from early ages of interview , I have not seen this question on recent interviews but it was common during 2006-2007 , now days questions like implementation of HashMap, ConcurrentHashMap etc has take its place, nonetheless its very useful
to know fundamental difference between this two.
Between two Enumeration is older and its there from jdk 1.0 while iterator was introduced later. More detail...