What is an Iterator interface?
Answers were Sorted based on User's Feedback
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 |
Answer / ravikiran(aptech mumbai)
Iterator interface deefines the iterator method to traverse
threw the elements of a collecion unidirectionally
Is This Answer Correct ? | 0 Yes | 1 No |
What is the difference between overriding & overloading?
What is a lambda expression ? What's its use ?
What is nan inf?
What is difference between arraylist and list in java?
What is the difference between parameters and arguments ?
What is the importance of static variable?
What is multithreading in java?
Explain java coding standards for classes or java coding conventions for classes?
What is the purpose of nested class in java?
What is empty string literal in java?
What is an object in Java and what are its benefits?
What is an iterator java?