-->
当前位置:首页 > 题库

单选题:After performing the following code fragment, what are the value

Luz5年前 (2021-05-10)题库542
After performing the following code fragment, what are the values of x and y:
```
x=1,y=2;
if(x>y){
x++;
y++;
}
```
@[B](1)

A. x=1,y=3
B. x=1,y=2
C. x=2,y=3
D. x=2,y=2




A.x=1,y=3
B.x=1,y=2
C.x=2,y=3
D.x=2,y=2


答案:B