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 about static nested classes in java?

1127


how we can make a write-only class in java?

1014


What is finalize()? Is finalize() similar to a destructor?

958


What are encapsulation, inheritance and polymorphism?

998


Does the order of public and static declaration matter in main method?

1067


What are the rules for variable declaration?

955


What is the argument in java?

900


What is the difference between serializable and externalizable interface?

1082


Differentiate between the constructors and methods in java?

935


What is the set interface in java programming?

1194


what is predefined function in java?

974


os is developed in c no java is more secured then c na why dont the os developed is developed using java

4209


What is a local, member and a class variable?

1033


Explain super keyword in java.

1028


Can you sort a string in java?

899