public class xiancheng implements Runnable{
private static int[] arr=new int[6];
int number=0;
public static void main(String[] args) throws Exception{
new Thread(new xiancheng()).start();
new Thread(new xiancheng()).start();
Thread.sleep(2000);
for(int i:arr){
System.out.println(i);
}