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 java util hashmap?

530


Do I need java for windows 10?

559


How to declare objects of a class ?

593


Explain the inheritance?

583


What are the procedures?

620






How to create a thread in java?

617


What is local class in java?

530


How define set in java?

525


How do you write a scanner class in java?

572


How do you compare two strings lexicographically?

548


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

771


How are variables stored?

537


Explain the selection sort algorithm and state its time complexity?

618


What do you understand by the term polymorphism?

641


What is scope & storage allocation of global and extern variables? Explain with an example

592