KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ConstTest


1 public class ConstTest {
2
3     public static void main(String JavaDoc [] args){
4         ConstTest ct = new ConstTest();
5         ct.run();
6     }
7     
8     public static final int x = 1+1;
9
10     public void run(){
11         switch(x){
12         }
13         char c = 'c';
14     }
15 }
16
Popular Tags