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

Hai friends I am MCA 2006 passout. Spend time in 1 yr for teacing and 5 months in small s/w firm. worked in 4 or 5 months in few places. Presently I am writing bank exams. I want to get back to IT sector. Are there any possibilities. any growth prospects?. I am having some knowledge in core and advanced java. I am so desperate. Any suggestions thanks in advance. u can write to my mail mahidestiny@gmail.com

4 Answers  


List some features of the abstract class.

0 Answers  


What's the difference between comparison done by equals method and == operator?

0 Answers  


What is the Difference between Final Class && Abstract Class?

0 Answers   HCL,


How are observer and observable used in java programming?

0 Answers  






What is the advantage of OOP in java?

0 Answers  


What is classpath?

0 Answers  


23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an <applet> tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.

0 Answers   TCS,


what is deadlock in threads? with example

2 Answers   CTS, XOXO,


What is JDBC Driver interface?How can you retrieve data from the ResultSet

0 Answers   CTS,


What are interfaces?

3 Answers  


why java does not have operator overloading?

2 Answers  


Categories