Declarations and Access Control Logic
© examsiri.com
Question : 12 of 29
Marks:
+1,
-0
Given:
What is the result?
1. int x = 0;
2. int y = 10;
3. do {
4.   y--;
5.   ++x;
6. } while (x < 5);
7. System.out.print(x + "," + y);What is the result?
Go to Question: