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 02:57:13 #1
 Navdeep   Member Since: Visitor    Total Comments: N/A 

RE: Tell me the differences between enumeration and it...
 
Enumeration deals with objects while iteration deals with values only. Enumeration is used when we use vector, hashtable, etc while iteration are used in while loop, for loop etc
     

 

Back To Question