1 // Bad.java -- Static, forward references not allowed 2 3 class A { 4 static int x = y; 5 static int y = 1; 6 static { /* Print x and y */ } 7 }