What is an Iterator interface?

Answers were Sorted based on User's Feedback



What is an Iterator interface?..

Answer / 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

What is an Iterator interface?..

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

Post New Answer

More Core Java Interview Questions

What is methodological theory?

0 Answers  


What is flag in python?

0 Answers  


How do I remove a character from a string in java?

0 Answers  


What is the need of transient variables in Java ?

0 Answers   MCN Solutions,


Is static a singleton?

0 Answers  






What is the exact difference in between Unicast and Multicast object? Where will it be used?

0 Answers  


What is downcasting?

0 Answers  


How can you read content from file in java?

0 Answers   HCL,


What is the difference between menuitem and checkboxmenu item?

0 Answers  


What is the formula to calculate percentage?

0 Answers  


What is generic class?

0 Answers   Tech Mahindra,


Why are parameters used in functions?

0 Answers  


Categories