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

What are the major drawbacks of external iteration?

1057


Does java linked list allow duplicates?

969


What do you know about the garbage collector in java?

1083


What are the actions that can occur when a thread enters blocked state?

1054


What is dynamic binding(late binding)?

1038


What is the size of integer?

1092


What is the difference between this() and super() in java?

1035


How do I write a self declaration?

1106


What is __ init __ functions?

1116


Does java support Operator Overloading?

1040


What are the differences between wait() and sleep()?

1012


What does bitwise or mean?

1070


Explain the reason behind ending a program with a system.exit(0)?

1079


What is the numeric promotion?

1018


How many types of methods are there in java?

1001