Answer Posted / niranjanravi
Iterator provides a general purpose standardised way of
accessing elements one at a time.It has 3 methods
next()
hasNext()
remove()
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is boolean flag in java?
What is the use of string and stringbuffer?
Explain importance of throws keyword in java?
Can you declare a private method as static?
How to sort an unsorted array in java?
What is a layout manager and what are different types of layout managers available in java awt?
What is string made of?
What is the default size of set in java?
Is java a compiler?
How we can declare a static variable?
how we can create packages in java?
What happens if we override only equals?
How to set the permissions to a file in java?
What is the difference between instanceof and isinstance?
Explain tree set and its features?