What is the differenc between Enemuration interface and
iterator interface according to accessing?

Answer Posted / suresh gangapatnam

While iteration we can remove the elements but it's not in
case enumeration and Enumeration is faster than the
iteration.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why set is used in java?

658


What is final modifier?

643


How do you check whether the list is empty or not in java?

605


which class is the wait() method defined in? : Java thread

602


What is concurrent hashmap and its features?

628






Why object class is super class for every class in java?

671


What is java virtual machine and how it is considered in context of java’s platform independent feature?

743


Why are the objects immutable in java?

638


How concurrent hashmap works?

732


Can we override the private methods?

612


What are the three parts of a lambda expression?

627


What is difference between length and length() method in java ?

657


What is the difference between JDK and JVM?

732


How do singleton patterns work?

610


Difference between static binding and dynamic binding?

666