Answer Posted / aslam
Iterator has an additional method remove() and also
iterator checks for the concurrent modifications which will
be useful in multi threaded applications.
while Enumerator is much faster for sequential
access over collection elements, because it doesnot have
the additional overhead of checking concurrent modifications
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why string is immutable or final in java
What is a variable declaration?
Explain importance of finally block in java?
What is array command?
Is java 9 released?
When will we use them?
What is function and method in java?
Is object a data type?
What is the difference between abstract classes and interfaces?
make a method which any number and any type of argument and print sum of that arguments.....
Can we have any other return type than void for main method?
What are the object and class classes used for?
What do you mean by platform independence?
Is call by reference possible in java?
Explain about OOPS concepts and fundamentals.