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 |
Can constructor be inherited?
What is append in java?
Why call by value prevents parameter value change?
What are static blocks in java ?
What is the use of optional ?
What is the difference between a Window and a Frame?
can u handle an error if u write Thowable in the catch class lise try { some errorneous code }catch(Throwable e){ ...}
why we import both packages java.awt.*; and java.awt.event.*; as java.awt.*; can import all classes na. then what is the need of importing java.awt.event.*; ?
What are the differences between this and super keyword?
When we should use serialization?
What is static block?
How do I compare two strings in word in java?