Forum Stats

  • 3,837,158 Users
  • 2,262,232 Discussions
  • 7,900,214 Comments

Discussions

A little more foreach sugar

843853
843853 Member Posts: 3,739
edited Jan 11, 2005 9:49AM in Java Programming
I think it would have been nice if
for(int x : 100)
{
}
//did the same as
for(int x = 0 ; x < 100 ; x++)
{
}

Comments

This discussion has been closed.