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

Can we use this () and super () in a method?

0 Answers  


Life Cycle of Thread

4 Answers   IBM,


What is the full form of jpeg?

0 Answers  


Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.

0 Answers  


write a simple program inheritance?

2 Answers   Polaris,






Which is the best sorting technique in java?

0 Answers  


Why is string class considered immutable?

0 Answers  


What is Session reduplication and how its done?

0 Answers  


Can we override the main method?

4 Answers  


How can we run a java program without making any object?

0 Answers  


Does importing a package imports its sub-packages as well in java?

0 Answers  


What are advantages and disadvantages of OOPs?

0 Answers   Amdocs,


Categories