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 |
What is difference between next () and nextline () in java?
What are synchronized blocks in java?
What is the public field modifier?
What are the four versions of java?
What is a final class ?
Is java developer a good career?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
How can I debug the Java security exceptions and AccessControlExceptions?
What is the difference between the size and capacity of a vector?
How is tree Mirroring implemented?
What about interthread communication and how it takes place in java?
Is it possible for yielded thread to get chance for its execution again ?