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 difference between Iterator and for loop

Answer Posted / tulasi ram damarla

Also, iterator is can be used with set to iterate and to
read an element from set. using for loop it is possible to
iterate,but you cannot read an element, because set does
not have a get() method.

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create a method in java?

1044


What is the difference between arraylist and hashset in java?

1233


What is the difference between iterator and enumeration ?

1041


What is try-with-resources in java?

1217


What is an empty string in css?

1097


What is the base class for error and exception?

1036


How can you generate random numbers in java?

1096


Can you explain inner class.

1138


explain multi-threading in java?

1084


Why is java so popular?

1167


What does indexof return in java?

1044


How do you create a reference in java?

1022


why an outer class cannot be declared as private?

4375


How thread scheduler schedule the task?

1099


Define class?

1124