Answer Posted / siva thimmannagari
Iterator supports only hasNext(),
next() and remove() methods.
It is not synchronized.
Enumeration supports ONLY
hasMoreElements(), nextElement().
It is synchronized.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is extension method in java?
How many types of assembly languages are there?
Why do we need singleton class?
What is the difference between member variables initialization and assignment in a constructor?
Explain 5 features introduced in jdk 1.7?
What’s the difference between callable and runnable?
What do you mean by object?
Why unicode is important?
Does string is thread-safe in java?
What is the difference between compiler and jvm?
Write a program to check for a prime number in java?
What is meant by local variable and instance variable?
Write a factorial program using recursion in java?
What is split return?
What happens when a thread cannot acquire a lock on an object in java programming?