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 serialversionuid?
What state is a thread in when it is executing?
What are the OOAD concepts in java explain with examples?
What is string array?
What are classloaders?
String Reverse in Java...!
What is java virtual machine and how it is considered in context of java’s platform independent feature?
Does A Class Inherit The Constructors Of Its Superclass?
What is the use of inner class?
How do you declare an array in java?
How the elements are organized in BorderLayout?
Why we should declare the variables as static and final in interfaces?