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

What is the difference between iterator and enumeration ?

520


Name container classes in java programming?

599


What is a local block?

648


What is the difference between access specifiers and access modifiers in java? 16

545


What is the role of the java.rmi.naming class?

536






What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

1947


Justify your answer that you can't define a method inside another method in java, if you can then how?

608


What is difference between next () and nextline () in java?

546


Can an interface have a constructor?

520


Write a program to find the whether a number is an Armstrong number or not?

582


What is hasnext in java?

582


Can we make constructors static?

734


define the terminology association.

629


What are the major advantages of internal iteration over external iteration?

585


What is the difference between public, private, protected, and friend access?

583