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

How to create a custom exception?

995


What is the purpose of return statement?

1064


Can we use a default constructor of a class even if an explicit constructor is defined?

1106


What is an object’s lock and which object’s have locks?

963


What is the difference between the ">>" and " >>>" operators in java?

983


Should a main method be compulsorily declared in all java classes?

1065


Why do we use string?

1042


Is main a keyword in java?

978


Can we serialize singleton class?

1038


What is pre increment and post increment in java?

985


What is string example?

1052


What is the biggest integer?

1052


If a class is declared without any access modifiers, where can the class be accessed?

1066


Explain about object oriented programming and its features?

1013


How will you compute size of a structure?

1181