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

What are the restrictions that are applied to the java static methods?

985


Why is logger singleton?

1125


What do you mean by local class?

1006


How to optimize the javac output?

1023


How do you get the length of a string in java?

1008


What does file separator do in java?

1014


How do you use substring in java?

1135


What is difference between static class and singleton pattern?

1023


How to declare an arraylist in java?

1113


What does method mean?

1062


How do you sing an Applet ?

2459


Can we override constructors in java?

1137


What is the destroy method?

1040


What does int [] mean in java?

1032


What is difference between java and java ee?

1026