| |
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 01:07:27 |
#10 |
| Karuna Reddy |
Member Since: June 2007 Total Comments: 38 |
RE: Tell me the differences between enumeration and iteration?Which can use where in realtime? |
In Enumeration we usly fetch the data only ie read only while Iteration can done all the manipulations like read, update and insert and remove also
When the requirment like only want to show the values then go for Enumeration and when we want to change the values then we go for Iteration |
| |
Back To Question | |