阅读下列程序。 Public class Test implements Runnable( Private int x=0; Private int y=0; boolean flag=true; Public static void main(string[]args) Test r=new Test(); Thead t1=new Thead(r); Thead t2=new Thead(r); t1.start(); t2.start(); Public void run() While(flag) x++; y++; system.out.println("("+x_","+y+")"); if(x>=10) flag=false;