what is diff bet iterator and enumeration?

Answer Posted / muralisankar

Both are to navigate collection objects. But Enumerator you
can not manipulate where as in Iterator you can add and
remove objects.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a constructor call the constructor of parent class?

541


Write a function for palindrome and factorial and explain?

661


Is intellij better than eclipse?

545


List two java ide’s?

616


What is public static?

497






What do you mean by Hash Map and Hash Table?

606


How do you clear a method in java?

544


If a class is declared without any access modifiers, where can the class be accessed?

601


What is the access scope of a protected method?

565


What is busy spin, and why should you use it?

591


Can a class with private constructor be extended?

492


Which of the following classes will have more memory allocated?

587


How does arrays sort work in java?

604


Can you add null to a list java?

587


Are registers volatile?

536