KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > T1412r1


1
2 class T1412r1 {
3     static int i = -2;
4     public static void main(String JavaDoc[] args) {
5     do
6             test();
7     while (false);
8     System.out.print(i);
9     }
10     static boolean test() {
11     try {
12         do {
13         if (i++ == 0)
14             return true;
15         } while (true);
16         } finally {
17         i++;
18     }
19     }
20 }
21     
Popular Tags