Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is diff bet iterator and enumeration?

Answer Posted / aslam

Iterator has an additional method remove() and also
iterator checks for the concurrent modifications which will
be useful in multi threaded applications.

while Enumerator is much faster for sequential
access over collection elements, because it doesnot have
the additional overhead of checking concurrent modifications

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why string is immutable or final in java

1027


What is a variable declaration?

926


Explain importance of finally block in java?

980


What is array command?

1091


Is java 9 released?

943


When will we use them?

977


What is function and method in java?

905


Is object a data type?

917


What is the difference between abstract classes and interfaces?

972


make a method which any number and any type of argument and print sum of that arguments.....

1747


Can we have any other return type than void for main method?

902


What are the object and class classes used for?

993


What do you mean by platform independence?

990


Is call by reference possible in java?

907


Explain about OOPS concepts and fundamentals.

997