KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ForLoopSimple


1 public class ForLoopSimple {
2     public static void main(String JavaDoc [] args){
3         int j = 9;
4         
5         for (int i = 0; i < 10; i++){
6             j = j*i;
7         }
8     }
9 }
10
Popular Tags