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 the difference between overriding & overloading?

0 Answers  


What is a lambda expression ? What's its use ?

0 Answers  


What is nan inf?

0 Answers  


What is difference between arraylist and list in java?

0 Answers  


What is the difference between parameters and arguments ?

2 Answers  






What is the importance of static variable?

0 Answers  


What is multithreading in java?

0 Answers  


Explain java coding standards for classes or java coding conventions for classes?

0 Answers  


What is the purpose of nested class in java?

0 Answers  


What is empty string literal in java?

0 Answers  


What is an object in Java and what are its benefits?

4 Answers   IBM,


What is an iterator java?

0 Answers  


Categories