KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > T1515r4


1
2 class T1515r4 {
3     static byte s = -128; // static field
4
byte i = -128; // instance field
5
public static void main(String JavaDoc[] args) {
6         new T1515r4();
7     }
8     T1515r4() {
9         byte[] a = {-128}; // array access
10
byte l = -128; // 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