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 difference between iterator access and index access?



What is difference between iterator access and index access?..

Answer / Anil Kumar Ojha

Iterator access sequentially traverses a collection, returning each element one-by-one without direct access to the underlying array. Index access provides fast access to any element in the collection by its index, but may result in ConcurrentModificationException if the collection is modified during iteration.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is %02d?

1 Answers  


Class c implements interface I containing method m1 and m2 declarations. Class c has provided implementation for method m2. Can I create an object of class c?

1 Answers  


What is anti pattern in programming?

1 Answers  


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?

3 Answers   TCS,


What is meant by attribute?

1 Answers  


What is a null class?

1 Answers  


why constructor dont have returns type?

9 Answers   IBM,


Tell us something about different types of casting?

1 Answers  


What are the different approaches to implement a function to generate a random number?

1 Answers   Axtria, ITC Indian Tobacco Company,


What do you understand by weak reference?

1 Answers  


Explain jvm, jre, and jdk?

1 Answers  


Does 'true' and 'false' are keywords?

5 Answers  


Categories