Zebra0.com

javaCompare for and while

Compare for and while

The for loop does 3 things for your: initialize, test, and increment the variable.