That statement is not legal in that position. You are making a statement not inside a method.
Either do the initialization when you declare the array as in:
int[] z = new int[5]; //note the brackets on the int, please don't use them after the z, it's bad style.
OR you have to put your initialization code in a method, maybe a constructor
Rob
