| |
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 | |