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
What does a void function return?
if u open login & logout ,how can udisplay the timelogin & logout members ?
Can finally block be used without a catch?
What is a lambda expression ? What's its use ?
What are the 6 functions?
What is a buffer in java?
Can we have any code between try and catch blocks?
Can you sort a string in java?
What is finalize() function in java?
What is string value?
How do you do math powers in java?
Outline the major features of java.
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
List down the methods and interfaces of collection class in java.
List some java keywords sun like c, c + + keywords?