KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.netbeans.test.java.hints;
2
3 public class Simple {
4     
5     public Simple() {
6     }
7     
8     public static void main(String JavaDoc[] args) {
9         Simple s = null;
10         
11         throw e;
12         throw s.e;
13         
14         synchronized (e) {}
15         synchronized (s.e) {}
16         
17         if (e instanceof Runnable JavaDoc) {}
18         if (s.e instanceof Runnable JavaDoc) {}
19     
20     int f = -s.i;
21     byte h = -s.b;
22     h = -s.b;
23     s.l++;
24     }
25     
26 }
27
Popular Tags