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 the differenc between Enemuration interface and
iterator interface according to accessing?

Answer Posted / ravikiran

Enumeration contains elements method for iteration.
And hasMoreElements and nextelement() methods to get the
values from the collection.
Iterator contains iterator() method for iteration
And hasnext() and next() methods for the retrieval of
values from the collection.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define jre i.e. Java runtime environment?

1021


Is 0 an even number?

986


What does next mean in java?

974


What is byte data type?

1005


What is the use of volatile in java?

1059


What does singleton mean in java?

1001


How do you write methodology?

990


What is %d in printf?

1043


Which category the java thread do fall in?

1006


Can I extend singleton class in java?

1112


Implement a stack with push (), pop() and min() in O(1) time.

1114


Can we convert stringbuilder to string in java?

993


What technique is carried out to find out if a particular string is empty?

1017


What is core java used for?

1128


How does multithreading take place on a computer with a single cpu in java programming?

1019