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

Explain the reason behind ending a program with a system.exit(0)?

777


Why does abstract class have constructor?

743


What is logical variable?

711


What is sortedmap interface?

755


How java uses the string and stringbuffer classes?

716


What is thread safe java?

679


What language is pass by reference?

753


Why do we need variables?

708


Why are data types important?

740


What is lambda in java?

726


What is formatted output?

714


What will be the initial value of an object reference which is defined as an instance variable?

866


What is hash table in java?

656


What are the advantages and disadvantages of reference counting in garbage collection?

761


What is the difference between numeric and integer?

705