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

What is class forname used for?

1051


If system.exit (0); is written at the end of the try block, will the finally block still execute?

1111


How are multiple inheritances done in Java?

1144


Explain the differences between abstraction and encapsulation?

1056


What is meant by object oriented programming – oop?

990


What are the differences between the constructors and methods?

1119


What does percent mean in java?

1028


What is nextint java?

1066


What is the primary benefit of encapsulation?

1088


What is deserialization?

1030


What is the static keyword?

1086


When should we create our own custom exception classes?

1016


What is ternary operator? Give an example.

1082


What are the legal parameters?

1010


Explain about the select method with an example?

1181