public class ArrayStatic{
static void s(int t[]) {
t[0] = 3; t[0] = 6; t[2] = 9;
}
public static void main(String[] args){
int t[]={0, 1, 2};
t[0] = 1; t[1] = 2; t[2] = 3;
s(t);
for (int i = 0; i < 3; i++)
System.out.print(t[i] + " ");
}
}
//