KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > GrimpExample


1 /*
2  * Created on Dec 28, 2004
3  *
4  * TODO To change the template for this generated file go to
5  * Window - Preferences - Java - Code Style - Code Templates
6  */

7
8 /**
9  * @author jlhotak
10  *
11  * TODO To change the template for this generated type comment go to
12  * Window - Preferences - Java - Code Style - Code Templates
13  */

14 public class GrimpExample {
15
16     public static void main(String JavaDoc[] args) {
17         int x = 0;
18         int [] a = {1,2,3,4,5,6,7};
19         while (x < a[x++]){
20             x = x + a[4] + 2;
21         }
22     }
23 }
24
Popular Tags