GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  J2EE  >  Core Java

 Print  |  
Question:  Tell me the differences between enumeration and iteration?Which can use where in realtime?



November 11, 2005 09:10:24 #2
 praveen   Member Since: Visitor    Total Comments: N/A 

RE: Tell me the differences between enumeration and it...
 

Hi !,

     Both will help you to travel into collection bag, But Enumeration is a leagsy classes and it comes with java1.1, Iterater they have introduced in Collection framework.

In enumeration we can modify the collection objects but throw Iterator it is possible.

     

 

Back To Question