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 quick sort in java?

555


What is break and continue statement?

611


What is the file type?

557


How big is a boolean?

581


What is meant by JVM? Is JVM platform independent or not?

575






What is the function of compareto in java?

587


What is the default size of set in java?

498


Is an object null?

558


What is enhanced loop in java?

546


Explain oops concepts in detail?

576


What is reverse function?

574


Explain creating threads by implementing runnable class?

589


Compare overloading and overriding?

559


What is the purpose of assert keyword used in jdk1.4.x?

563


If try block is successfully executed, Then Is Finally block executed?

608