KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > T1514r3


1
2 class T1514r3 {
3     static byte s = 127; // static field
4
byte i = 127; // instance field
5
public static void main(String JavaDoc[] args) {
6         new T1514r3();
7     }
8     T1514r3() {
9         byte[] a = {127}; // array access
10
byte l = 127; // local variable
11
System.out.print(s++ + " " + i++ + " " + a[0]++ + " " + l++);
12         System.out.print(" " + s + " " + i + " " + a[0] + " " + l);
13     }
14 }
15     
Popular Tags