Java Iteration Constructs: “For Loops”
Common Problems with For Loops include:
for (int i=0; i<N; i++){…}
--variable declared inside for
loop signature; poor style
--the variable may be needed
outside the for loop structure
--Spins on ending semicolon; code in braces executed once!