KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > test > java > hints > IfAndLoops


1 package org.netbeans.test.java.hints;
2
3 public class IfAndLoops {
4     
5     public IfAndLoops() {
6     }
7     
8     public static void main(String JavaDoc[] args) {
9         IfAndLoops i = null;
10
11         if (a) {}
12         if (i.a[0]) {}
13         
14         while (a) {}
15         while (i.a[0]) {}
16         
17         do {} while (a);
18         do {} while (i.a[0]);
19         
20         for ( ; a ; ) {}
21         for ( ; i.a[0] ; ) {}
22     }
23 }
24
Popular Tags