• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java 1.5 for loop

 
clakare bright
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You had a question??

In future, please use code tags.
I have edited your original post for now. As you can see it is much more readable and easier to understand.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15441
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to know more about the enhanced for loop syntax of Java 5, see this: The For-Each Loop
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's odd. I saw that post earlier today, and there was a question. I think something about the performance of the loop being bad when iterating a 1000 times.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49793
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't anybody edit their posts like that. It makes the remainder of the thread unintelligible.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic