Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 425 Page Views: 

What is the difference between Iterator and Enumeration?



Posted By: Avi Date: 2 November 2010 08:05:51 PM
 Answer:

Iterator allows the caller to remove elements from the underlying collection during the iteration with well-defined semantics. And , method names have been improved.


Posted By: avibtech


Date: 2 November 2010 08:05:51 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image gB0VEg
Related Questions
Core Java : What is the difference between a break statement and a continue statement?

What is the difference between a break statement and a continue statement?

A break statement breakes from the loop. A continue statement is used to end the current loop iterat....
Category: Core Java Date: 11/7/2010 8:24:48 PM
Core Java : What is a native method?

What is a native method?

A native method is a method that is implemented in a language other than Java
Category: Core Java Date: 11/7/2010 8:13:52 PM
Core Java : Can the object that is garbage collected be reachable again?

Can the object that is garbage collected be reachable again?

No, it is once that an object is garbage collected.
Category: Core Java Date: 11/7/2010 6:02:49 PM
Core Java : Can an object be garbage collected while it is still reachable?

Can an object be garbage collected while it is still reachable?

A reachable object cannot be garbage collected. Only unreachable objects may be garbage collected.
Category: Core Java Date: 11/7/2010 5:18:53 PM
Core Java : Can Thread be serialized?

Can Thread be serialized?

No
Category: Core Java Date: 11/7/2010 4:57:47 PM