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 / siva thimmannagari

Iterator supports only hasNext(),
next() and remove() methods.
It is not synchronized.


Enumeration supports ONLY
hasMoreElements(), nextElement().
It is synchronized.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is extension method in java?

1047


How many types of assembly languages are there?

973


Why do we need singleton class?

1007


What is the difference between member variables initialization and assignment in a constructor?

1281


Explain 5 features introduced in jdk 1.7?

1029


What’s the difference between callable and runnable?

1103


What do you mean by object?

982


Why unicode is important?

941


Does string is thread-safe in java?

1095


What is the difference between compiler and jvm?

1055


Write a program to check for a prime number in java?

1042


What is meant by local variable and instance variable?

1021


Write a factorial program using recursion in java?

1027


What is split return?

1007


What happens when a thread cannot acquire a lock on an object in java programming?

1022