What is the differenc between Enemuration interface and
iterator interface according to accessing?

Answer Posted / eganesh

Enumeration and Iterator both are using looping statement.
Enumeration is legacy class.iterator is cotains extra
method than Enumeration.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use equal in java?

634


Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

615


What is the difference between arraylist and hashset in java?

606


What does string intern() method do?

691


What is the arraylist in java?

623






What is meant by distributed application? Why are we using that in our application?

650


Which package is always imported by default?

648


How would overload a function based on return type?

650


How many ways can you break a singleton class in java?

594


What are the library functions in java?

663


What is the difference between Error, defect,fault, failure and mistake?

747


What is a parameter in matrices?

637


What are the methods to rectify ambiguities in the interfaces in JAVA?

706


How does linkedhashmap work in java?

599


How to perform selection sort in java?

671