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

Can we override private constructor in java?

910


Is node a data type in java?

940


If two threads have same priority which thread will be executed first ?

1410


Is main a function?

957


What is jrmp?

898


Which oo concept is achieved by using overloading and overriding?

945


Can we sort set in java?

905


Can we assign null to double in java?

958


What are the limitations of procedural programming approach?

997


What are variable names?

906


Can you have two constructors in java?

897


Can we override compareto method?

896


Explain the difference between jdk, jre, and jvm?

992


Can we execute a program without main?

960


What is JDBC Driver interface?How can you retrieve data from the ResultSet

2045