What is an iterator java?



What is an iterator java?..

Answer / Shiv Shanker

An Iterator in Java is an interface that allows sequential access to the elements of a collection (like List, Set or Map). It provides methods for moving through and retrieving elements from the collection.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is difference between next () and nextline () in java?

1 Answers  


What are synchronized blocks in java?

1 Answers  


What is the public field modifier?

1 Answers  


What are the four versions of java?

1 Answers  


What is a final class ?

1 Answers  


Is java developer a good career?

1 Answers  


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

1 Answers   Aricent,


How can I debug the Java security exceptions and AccessControlExceptions?

1 Answers   IBM,


What is the difference between the size and capacity of a vector?

1 Answers  


How is tree Mirroring implemented?

1 Answers   Fidelity,


What about interthread communication and how it takes place in java?

1 Answers  


Is it possible for yielded thread to get chance for its execution again ?

1 Answers  


Categories