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

Answer Posted / muthuraman

Enumeration is a read only interface, by using this we can
loop thro' the elements only. But using iterator interface
we can traverse and also remove the object.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why inputstreamreader is used in java?

556


Explain wait() method of object class ?

638


What is the difference between a vector & an array list?

677


What is the benefit of inner classes in java?

618


Differece between class and generic class?

568






How to retrieve data from database in java using arraylist?

532


Explain the key functions of data binding?

589


What do you understand by the bean persistent property?

559


Why is java called the platform independent programming language?

580


Where will it be used?

1510


Can a static block throw exception?

660


Can an interface be defined inside a class?

522


What are data types in oop?

557


Can you add null to a list java?

587


What is the use of hashmap in java?

557