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

What is the concept of multithreading?

705


Can we sort hashmap in java?

708


How to create a base64 decoder in java8?

755


Explain the difference between hashmap and hashtable in java?

690


Is null an object java?

731


What is connection class in java?

707


What is close method? How it's different from Finalize & Dispose?

768


what are the methods in object?

841


How many types of string data types are there?

732


When will you define a method as static in Java?

748


Can we start a thread twice in java?

689


What is string and example?

758


Write the algorithm to check the number non-leaf nodes in a tree.

827


Is java jre still free?

704


Are arrays dynamic in java?

760