You are not logged in to Prodigits. Please register or login.
Subject: The importance of 'for loops'?
Replies: 3 Views: 2243
kurt102 7/29/2006 - 7:38:22
why are they important ive been doin java for iunno six months or so anyone care to xplain? *
trixxa 7/30/2006 - 10:15:09
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.04.08 - 10:51pm
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.11.08 - 06:27pm
thats right. n at times they also help reduce the number of variables. *
Java (8)