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
How to print an arraylist in java?
Can we override the private methods?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
What is the difference between abstract class and interface1? What is an interface?
Explain about static nested classes in java?
What is final variable?
How do you input a string in java?
What is sorting algorithm in java?
How can an exception be thrown manually by a programmer?
What is the applet security manager, and what does it provide?
What is the final keyword in java?
What is java ceil?
What is the difference between stringbuffer and stringbuilder class?
Why map is used in java?
What does opcode mean?