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 we override equals() method?

1019


Which are different kinds of source code?

1095


What is += mean in java?

987


How do you sort data in java?

934


Explain about the dynamic behavior of core java?

1119


What is off heap memory?

984


What is native code?

1090


What are inner classes or non static nested classes in java?

1158


Is there any difference between synchronized methods and synchronized statements?

1083


How do I get 64 bit java?

1070


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

4912


Write a program to print count of empty strings in java 8?

981


What does it mean to flush a file?

1044


What is concurrent hashmap and its features?

1067


Difference between current previous versions of Java?

1004