Where we use iterator than enumeration in collection interface?

I don't know

Showing Answers 1 - 2 of 2 Answers

gudlarajesh

  • Nov 4th, 2005
 

hai,

enumeration and iterator are having the same functionality of traversing thru a collection object. but using iterator we can traverse aswell as do some operations on the collection object like removing a particular object while traversing thru the collection object whereas using enumeration we can traverse but cant perform any operation on the collection object.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions