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?



August 08, 2008 07:13:47 #9
 uday.ilapakurthi   Member Since: August 2008    Total Comments: 1 

RE: Tell me the differences between enumeration and iteration?Which can use where in realtime?
 
Enumeration - In enumeration there is no method to remove the object from the collection, and very difficult to remember the enumeration methods.

Iteration - In iteration we have remove method and also we can easily remember the methods.
     

 

Back To Question