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

why Interface used?

958


How many threads does a core java have?

1009


What does it mean to flush a file?

1015


How does linkedhashmap work in java?

948


Difference between object and reference?

1127


What is final keyword?

1099


Explain spliterator in java8?

1014


What are exception handling keywords in java?

984


Write a program to print 15 random numbers using foreach of java 8?

896


What is the meaning of 3 dots in java?

1116


How can we create a synchronized collection from given collection?

1048


What are the basic concepts of OOPS in java?

982


What is a class reference?

1037


when to use ArrayList and when to use HashMap in webApplication.

4607


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

924