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 / sundarakannan d

The major difference is Iterator doesn't output the list we
are iterating in sequence.
where as in for we structure it to print in sequence.

Is This Answer Correct ?    6 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the primitive type byte?

944


What is static keyword in java?

959


Can an interface be final?

981


Can private class be inherited in java?

977


Can we have more than one package statement in the source file?

1024


What is comparable and comparator interface? List their differences

1042


What happens to a static var that is defined within a method of a class?

989


Can we use return in constructor?

891


Implement two stacks using a single array.

1010


What is ternary operator in java?

1020


What is treeset in java collection?

924


Is class forname reflection?

922


What is flush () in java?

967


How can we create a synchronized collection from given collection?

1048


What is space character in java?

1044