자격증/OCJP_ExamB

QUESTION 59

IT grow. 2018. 7. 13. 23:20
반응형
QUESTION 59
Given:
int x = 0;
int y = 10;
do { y--;
++x;
}
while (x < 5);
System.out.print(x + "," + y);
What is the result?
A. 5,6
B. 5,5
C. 6,5
D. 6,6
Solution : B


반응형