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 difference between Enumeration and Iteration
interfaces? What is the way of to retreive the objects from
these interfaces ?



What is the difference between Enumeration and Iteration interfaces? What is the way of to retreiv..

Answer / suma

1.Enumeration interface applicable legacy implemented classes.
Iterator is applicable for all collection implemented classes.
2.Enumeration :While iterating the elements we are not
allowed to remove the objects just we can perform only read
operation
Iterator:While iterating we can perform removal also in
addition to read operation
3. Enumeration uses elements() method ,
Iterator uses iterator() method

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More Java Related AllOther Interview Questions

how can we create the ui using netbeans,having the code?

0 Answers  


Is jprofiler open source?

0 Answers  


what are the steps in JDBC connectivity..???

1 Answers   IBM, SoftCom, TCS,


What are the new features about Java se 8 ?

0 Answers  


How do I know if I have jre or jdk?

0 Answers  


Explain different way of using thread?

0 Answers  


Differences between intermediate operations and terminal operations of java 8’s stream api?

0 Answers  


What is lsdou? : java security

0 Answers  


Name primitive java types.

0 Answers  


What are orm tools in java?

0 Answers  


how can program polindrome using java

1 Answers  


Does ms edge support java?

0 Answers  


Categories