阅读下列程序。 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; 下列对程序运行结果描述的选项中,正确的是( )。
A. 每行的(x,y)中,可能有x≠y;每一对(x,y)值都出现两次。
B. 每行的(x,y)中,可能有x≠y;每一对(x,y)值仅出现一次。
C. 每行的(x,y)中,可能有x=y;每一对(x,y)值都出现两次。
D. 每行的(x,y)中,可能有x=y;每一对(x,y)值都出现一次。
查看答案
What does man think is also important to young people()
A. Doing regular checkups to prevent illness that threatens our longevity.
B. Doing crosswords puzzles.
C. Doing everything in the list.
Doing gardening everyday.
Which of the following is true()
A. Michael likes cooking but Joe doesn’t.
B. Michael likes camping but Joe doesn’t.
C. Joe likes swimming but Michael doesn’t.
D. Michael likes swimming but Joe doesn’t.
Where does this conversation most probably take place()
A. In a railway station.
B. In a restaurant.
C. In a bus station.
D. In a hotel’s room
Where does this conversation most likely take place()
At the woman’s home.
B. At a bus station.
C. At a gas station.
D. At a garage.