KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ExprInit


1 public class ExprInit {
2     int x = 3;
3     boolean ok = (x != 5);
4
5     public static void main(String JavaDoc [] args){
6         ExprInit e = new ExprInit();
7         e.run();
8     }
9
10     public void run(){
11         System.out.println(x);
12         System.out.println(ok);
13     }
14 }
15
16
Popular Tags