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 are the advantages of unicode?

0 Answers  


What value is a variable of the string type automatically initialized?

0 Answers  


Why method overriding is used?

0 Answers  


What type of value does sizeof return?

0 Answers  


what do you understand by the term string with respect to java?

0 Answers  


Is char a data type in java?

0 Answers  


Write a java program to print fibonacci series?

0 Answers  


Can an abstract class be final?

10 Answers  


How many bytes is a unicode character?

0 Answers  


How do you make a thread in java?

0 Answers  


What are locale settings?

0 Answers  


Explain the difference between comparator and comparable in java?

0 Answers  


Categories