@kurt102 | ||
why are they important ive been doin java for iunno six months or so anyone care to xplain? |
||
3
Replies
2242
Views
0 Bookmarks
|
@trixxa | 30 July 06 | |
They allow u 2 repeat segments of code 4 as long as a condition is met. Its different frm other loops bcos it has its own counter. They're more tidy than while loops and r easier 2 use if u wanna have a nested loop.
|
||
@psstmwah | 12 April 08 | |
Gosh its realy simpl. For loops basicaly cuts dwn multipl lines of monotonous code. No more boring if statements, it saves u a hellava lota tym, especialy wen u developing a system.
|
||
@wisegeek | 28 November 08 | |
thats right. n at times they also help reduce the number of variables.
|
||
Java Forum
Bookmarks
Java